Expand Lint-staged's file coverage (#5109) [ci skip]
This commit is contained in:
parent
9912bbcdb8
commit
83e1313b1a
1 changed files with 6 additions and 2 deletions
|
|
@ -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": [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue