From 8f21493cc57dc32fe059d47abb4210d5b383cc31 Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Wed, 13 Aug 2025 04:28:13 +0530 Subject: [PATCH] lint: add --fix flag to automatic fix linting issue (#6644) * lint: add --fix flag to automatic fix linting issue * add dedicated lint script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7bf38092..e1bab759 100644 --- a/package.json +++ b/package.json @@ -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",