Skip to content

Commit

Permalink
Add lint:js:fix script (#32)
Browse files Browse the repository at this point in the history
This lets you do `npm run lint:js:fix` to more easily run the JavaScript
code style checks in auto-fix mode.
  • Loading branch information
frankieroberto authored Oct 26, 2024
1 parent 23945fa commit 6cf0190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"test": "jest --coverage=true",
"prewatch": "gulp build",
"watch": "gulp",
"lint:js": "eslint -c ./linters/.eslintrc.js app.js middleware/**/*.js lib/**/*.js app/*.js"
"lint:js": "eslint -c ./linters/.eslintrc.js app.js middleware/**/*.js lib/**/*.js app/*.js",
"lint:js:fix": "eslint -c ./linters/.eslintrc.js app.js middleware/**/*.js lib/**/*.js app/*.js --fix"
},
"author": "https://github.com/nhsuk/",
"license": "MIT",
Expand Down

0 comments on commit 6cf0190

Please sign in to comment.