Skip to content

Commit

Permalink
updated lint-staged command
Browse files Browse the repository at this point in the history
  • Loading branch information
FynniX committed Mar 19, 2024
1 parent 59baf9f commit 5da7022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"OFFENCES",
"PLUGININFO",
"PRACTISE",
"precommit",
"PREFINAL"
]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
"format:fix": "npx prettier --write --ignore-unknown .",
"lint": "npx eslint .",
"doc": "npx typedoc",
"prepare": "npx husky"
"prepare": "npx husky",
"precommit": "npm run lint && npm run format:fix"
},
"lint-staged": {
"**/*": "npm run lint && npm run format:fix && npm run doc"
"**/*": "npm run precommit"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5da7022

Please sign in to comment.