Skip to content

Commit

Permalink
Fix lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
gabmontes committed Oct 18, 2024
1 parent 738539e commit e3fc78d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,13 @@
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{css,js,json,md,ts,yml}": "prettier --write"
"!(*.{js,ts})": [
"prettier --ignore-unknown --write"
],
"*.{js,ts}": [
"eslint --cache --fix --quiet",
"prettier --write"
]
},
"prettier": {
"arrowParens": "avoid",
Expand Down

0 comments on commit e3fc78d

Please sign in to comment.