Skip to content

Commit c922b25

Browse files
committed
adds linting to commit process
1 parent 4836ee7 commit c922b25

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"scripts": {
6868
"=============================================================================== code hygene": "",
6969
"lint": "eslint ts/",
70-
"lint:fix": "eslint --fix ts/",
70+
"lint:fix": "eslint --fix ts/ --format unix",
7171
"format": "prettier --check \"ts/**/*.{ts,tsx}\"",
7272
"format:fix": "prettier --write \"ts/**/*.{ts,tsx}\"",
7373
"=============================================================================== clean": "",
@@ -148,7 +148,8 @@
148148
},
149149
"lint-staged": {
150150
"ts/**/*.ts": [
151-
"pnpm format:fix"
151+
"pnpm format:fix",
152+
"pnpm lint:fix"
152153
]
153154
},
154155
"dependencies": {

0 commit comments

Comments
 (0)