Browse Source

Don't run Rubocop excluded files for lint-staged (#25090)

lets-bump-hometown-to-mastodon-4.2
Nick Schonning 3 years ago committed by GitHub
parent
commit
520e00a3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json

2
package.json

@ -213,7 +213,7 @@
},
"lint-staged": {
"*": "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",
"*.{css,scss}": "stylelint --fix"
}

Loading…
Cancel
Save