Skip to content

Commit 548d127

Browse files
committed
added eslint script and git precommit hook
1 parent be052ec commit 548d127

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"serverstartWin": "SET DEBUG=api:* && npm run devstart",
2222
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
2323
"test:watch": "NODE_OPTIONS=--experimental-vm-modules npx jest --watch",
24-
"test:openHandels": "NODE_OPTIONS=--experimental-vm-modules npx jest --detectOpenHandles"
24+
"test:openHandels": "NODE_OPTIONS=--experimental-vm-modules npx jest --detectOpenHandles",
25+
"eslint": "eslint '**/*.js'"
2526
},
2627
"dependencies": {
2728
"bcrypt": "^5.1.0",

0 commit comments

Comments
 (0)