lint: add --fix flag to automatic fix linting issue (#6644)

* lint: add --fix flag to automatic fix linting issue

* add dedicated lint script
This commit is contained in:
Shivam Sharma
2025-08-13 04:28:13 +05:30
committed by GitHub
parent 6616e39d4d
commit 8f21493cc5

View File

@@ -91,6 +91,7 @@
],
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "mocha --require test/support/env --reporter spec --check-leaks test/ test/acceptance/",
"test-ci": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=lcovonly --reporter=text npm test",
"test-cov": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=html --reporter=text npm test",