Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Standard Ruby, Standard JS style checkers #3837

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading