From 935c1759ade3373aa3158fd0763aa54da43d2dd6 Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Sat, 6 May 2023 04:35:13 +0530 Subject: [PATCH 1/3] chore: add scripts to fix lint --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 6db45ada..c3cb6dc3 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,9 @@ "lint:js": "eslint --cache .", "lint:spelling": "cspell \"**/*.*\"", "lint": "npm-run-all -l -p \"lint:**\"", + "fix:js": "npm run lint:js -- --fix", + "fix:prettier": "npm run lint:prettier -- --write", + "fix": "npm-run-all -l -p \"fix:**\"", "test:only": "cross-env NODE_ENV=test jest", "test:watch": "npm run test:only -- --watch", "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage", From 1b310fd1bf0c11cf9a00df5591c9ab7aca267cee Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Sat, 6 May 2023 04:37:07 +0530 Subject: [PATCH 2/3] chore: fix lint --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c3cb6dc3..98ab5f4e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lint": "npm-run-all -l -p \"lint:**\"", "fix:js": "npm run lint:js -- --fix", "fix:prettier": "npm run lint:prettier -- --write", - "fix": "npm-run-all -l -p \"fix:**\"", + "fix": "npm-run-all -l -p \"fix:**\"", "test:only": "cross-env NODE_ENV=test jest", "test:watch": "npm run test:only -- --watch", "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage", From d27dc7f070da59de16c527d8302acc12ef414973 Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Sat, 6 May 2023 14:51:22 +0530 Subject: [PATCH 3/3] chore: update fix script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 98ab5f4e..7f212fdd 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lint": "npm-run-all -l -p \"lint:**\"", "fix:js": "npm run lint:js -- --fix", "fix:prettier": "npm run lint:prettier -- --write", - "fix": "npm-run-all -l -p \"fix:**\"", + "fix": "npm-run-all -l fix:js fix:prettier", "test:only": "cross-env NODE_ENV=test jest", "test:watch": "npm run test:only -- --watch", "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",