Skip to content

Commit 8f21493

Browse files
authored
lint: add --fix flag to automatic fix linting issue (#6644)
* lint: add --fix flag to automatic fix linting issue * add dedicated lint script
1 parent 6616e39 commit 8f21493

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
@@ -91,6 +91,7 @@
9191
],
9292
"scripts": {
9393
"lint": "eslint .",
94+
"lint:fix": "eslint . --fix",
9495
"test": "mocha --require test/support/env --reporter spec --check-leaks test/ test/acceptance/",
9596
"test-ci": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=lcovonly --reporter=text npm test",
9697
"test-cov": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=html --reporter=text npm test",

0 commit comments

Comments
 (0)