Expand Lint-staged's file coverage (#5109) [ci skip]

This commit is contained in:
Mac Siri 2019-12-13 16:28:31 -05:00 committed by GitHub
parent 9912bbcdb8
commit 83e1313b1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,12 +26,16 @@
"eslint --fix",
"git add"
],
"{app,spec}/**/*.rb": [
"{app,spec,config,lib}/**/*.rb": [
"bundle exec rubocop --require rubocop-rspec --safe-auto-correct",
"git add"
],
"Gemfile": [
"bundle exec rubocop --require rubocop-rspec --safe-auto-correct",
"git add"
],
"app/**/*.html.erb": [
"bin/bundle exec erblint",
"bundle exec erblint",
"git add"
],
"*.json": [