Skip to content

Commit

Permalink
Changes lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasFerling committed Jan 23, 2024
1 parent a336ec2 commit 50dacc8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@
"bootstrap-dark-5": "^1.1.3"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
"*.js": [
"prettier --write",
"eslint --fix"
],
"*.html": [
"prettier --write"
],
"*.scss": [
"prettier --write"
]
}
}

0 comments on commit 50dacc8

Please sign in to comment.