Skip to content

Commit 9a116d2

Browse files
committed
NPM Script : Introduce new command for automated code style correction: 'npm run lint-fix' for linting and 'npm run format-fix' for formatting, ensuring consistent code style across the project.
1 parent 516bb00 commit 9a116d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"lint-fix": "eslint --fix .",
1414
"format-check": "echo 'Checking the formatting of your code 👨‍💻' && prettier --check . && echo '✅ code matches prettier formatting'",
1515
"format-fix": "prettier --write .",
16+
"fix": "npm run lint-fix && npm run format-fix",
1617
"ngrok": "ngrok http 8787",
1718
"register": "ts-node-esm src/register.ts"
1819
},

0 commit comments

Comments
 (0)