Add rubocop
binstub, simplify configuration (#30407)
This commit is contained in:
parent
45abddb302
commit
3a191b3797
13 changed files with 210 additions and 227 deletions
|
@ -1,7 +1,6 @@
|
|||
const config = {
|
||||
'*': 'prettier --ignore-unknown --write',
|
||||
'Capfile|Gemfile|*.{rb,ruby,ru,rake}':
|
||||
'bundle exec rubocop --force-exclusion -a',
|
||||
'Capfile|Gemfile|*.{rb,ruby,ru,rake}': 'bin/rubocop --force-exclusion -a',
|
||||
'*.{js,jsx,ts,tsx}': 'eslint --fix',
|
||||
'*.{css,scss}': 'stylelint --fix',
|
||||
'*.haml': 'bundle exec haml-lint -a',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue