Skip to content
Snippets Groups Projects
Unverified Commit 470b8abb authored by Nick Schonning's avatar Nick Schonning Committed by GitHub
Browse files

Run Rubocop with lint-staged on commit (#24644)

parent 60ac9e86
No related branches found
No related tags found
No related merge requests found
......@@ -212,6 +212,7 @@
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"Capfile|Gemfile|*.{rb,ruby,ru,rake}": "bundle exec rubocop -a",
"*.{js,jsx,ts,tsx}": "eslint --fix",
"*.{css,scss}": "stylelint --fix"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment