Skip to content

Commit

Permalink
chore(lint): use direct commands for pre-commit linting
Browse files Browse the repository at this point in the history
This speeds up the process since it will only lint staged files
  • Loading branch information
anehx committed Mar 28, 2023
1 parent d39b05f commit 046b9a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -35,10 +35,10 @@
},
"lint-staged": {
"*.js": [
"yarn lint:js:fix",
"yarn lint:hbs:fix"
"eslint --cache --fix",
"ember-template-lint --fix"
],
"*.hbs": "yarn lint:hbs:fix",
"*.hbs": "ember-template-lint --fix",
"*.{scss,json,md,yml}": "prettier --write"
},
"dependencies": {
Expand Down

0 comments on commit 046b9a4

Please sign in to comment.