Skip to content

Commit

Permalink
Run Rubocop with lint-staged on commit (mastodon#24644)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Apr 30, 2023
1 parent 60ac9e8 commit 470b8ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 470b8ab

Please sign in to comment.