Skip to content

Commit

Permalink
Merge pull request #3837 from 18F/beechnut/standard-ruby-js
Browse files Browse the repository at this point in the history
Add Standard Ruby, Standard JS style checkers
  • Loading branch information
beechnut authored May 21, 2024
2 parents e0f498d + 7f28cfe commit 1ce82e5
Show file tree
Hide file tree
Showing 33 changed files with 5,082 additions and 1,218 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
paths:
- node_modules
key: v2-dependencies-npm-{{ checksum "package-lock.json" }}
- run:
name: Check Ruby style
command: bundle exec standardrb
- run:
name: Check JavaScript style
command: npx standard
- run: npm run uswds-build
# We export the file list in pa11y_targets so that we can make pa11y-ci scan only those changed files in the "Run pa11yci" step
- run:
Expand Down
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc

This file was deleted.

229 changes: 0 additions & 229 deletions .rubocop.yml

This file was deleted.

43 changes: 22 additions & 21 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
source 'https://rubygems.org'
source "https://rubygems.org"

ruby '~> 3.2.3'
ruby "~> 3.2.3"

gem 'html-proofer', '~> 5.0.8'
gem 'jekyll', '~> 4.3'
gem 'kramdown-parser-gfm'
gem 'parallel'
gem 'ruby-oembed', '0.15.0'
gem "html-proofer", "~> 5.0.8"
gem "jekyll", "~> 4.3"
gem "kramdown-parser-gfm"
gem "parallel"
gem "ruby-oembed", "0.15.0"

group :jekyll_plugins do
gem 'jekyll-archives', '~> 2.2'
gem 'jekyll-feed'
gem 'jekyll-paginate'
gem 'jekyll-redirect-from'
gem 'jekyll-seo-tag'
gem 'jekyll-sitemap'
gem 'jemoji', '>= 0.12.0'
gem "jekyll-archives", "~> 2.2"
gem "jekyll-feed"
gem "jekyll-paginate"
gem "jekyll-redirect-from"
gem "jekyll-seo-tag"
gem "jekyll-sitemap"
gem "jemoji", ">= 0.12.0"
end

group :development do
gem 'colorize'
gem 'pry'
gem 'rb-readline'
gem 'rspec'
gem "colorize"
gem "pry"
gem "rb-readline"
gem "rspec"
gem "standard"
end

group :test do
gem 'nokogiri', '>= 1.11.1'
gem 'codeclimate-test-reporter', '~> 1.0.0'
gem 'simplecov'
gem "nokogiri", ">= 1.11.1"
gem "codeclimate-test-reporter", "~> 1.0.0"
gem "simplecov"
end
Loading

0 comments on commit 1ce82e5

Please sign in to comment.