Skip to content

Commit

Permalink
check instead of format
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePlenkov committed Oct 8, 2024
1 parent 093d3e5 commit 2e0ef01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,10 @@
"targetDefaults": {
"@nx/vite:test": {
"cache": true,
"inputs": [
"default",
"^default"
]
"inputs": ["default", "^default"]
},
"nx-release-publish": {
"dependsOn": [
"build",
"test"
]
"dependsOn": ["build", "test"]
}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"test": "nx run-many --target=test --exclude=${npm_package_name} --coverage",
"prepare": "husky",
"precommit": "nx format:check"
"precommit": "nx format:check --uncommitted"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit 2e0ef01

Please sign in to comment.