Add haml-lint to lint-staged

This commit is contained in:
KMY 2023-08-25 13:05:39 +09:00
parent fc9303b843
commit 2085e732b6

View file

@ -225,6 +225,7 @@
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"Capfile|Gemfile|*.{rb,ruby,ru,rake}": "bundle exec rubocop --force-exclusion -a",
"*.{haml}": "bundle exec haml-lint",
"*.{js,jsx,ts,tsx}": "eslint --fix",
"*.{css,scss}": "stylelint --fix"
}