mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-17 12:24:31 +00:00
Don't run Rubocop excluded files for lint-staged (#25090)
This commit is contained in:
parent
8066118d1f
commit
520e00a3c1
|
@ -213,7 +213,7 @@
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*": "prettier --ignore-unknown --write",
|
"*": "prettier --ignore-unknown --write",
|
||||||
"Capfile|Gemfile|*.{rb,ruby,ru,rake}": "bundle exec rubocop -a",
|
"Capfile|Gemfile|*.{rb,ruby,ru,rake}": "bundle exec rubocop --force-exclusion -a",
|
||||||
"*.{js,jsx,ts,tsx}": "eslint --fix",
|
"*.{js,jsx,ts,tsx}": "eslint --fix",
|
||||||
"*.{css,scss}": "stylelint --fix"
|
"*.{css,scss}": "stylelint --fix"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue