Skip to content

Commit

Permalink
adds linting to commit process
Browse files Browse the repository at this point in the history
  • Loading branch information
zorkow committed Nov 15, 2024
1 parent 4836ee7 commit c922b25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"scripts": {
"=============================================================================== code hygene": "",
"lint": "eslint ts/",
"lint:fix": "eslint --fix ts/",
"lint:fix": "eslint --fix ts/ --format unix",
"format": "prettier --check \"ts/**/*.{ts,tsx}\"",
"format:fix": "prettier --write \"ts/**/*.{ts,tsx}\"",
"=============================================================================== clean": "",
Expand Down Expand Up @@ -148,7 +148,8 @@
},
"lint-staged": {
"ts/**/*.ts": [
"pnpm format:fix"
"pnpm format:fix",
"pnpm lint:fix"
]
},
"dependencies": {
Expand Down

0 comments on commit c922b25

Please sign in to comment.