From f340d449c870f4dcc7fd826e4b1af0037d39b2fb Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Sat, 6 May 2023 04:40:27 +0530 Subject: [PATCH 1/2] chore: add scripts to fix lint --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index e6ffe70..809d759 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,9 @@ "lint:spelling": "cspell \"**/*.*\"", "lint:types": "tsc --pretty --noEmit", "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 3ba4cdfbf9e99130fcc0b5b7bb8834dd73999283 Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Sat, 6 May 2023 14:50:16 +0530 Subject: [PATCH 2/2] chore: update fix script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 809d759..d3aeaa5 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,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",