From 99975e9539ae69cefc45bdc0737d02453f94fa4c Mon Sep 17 00:00:00 2001 From: mateonunez Date: Tue, 7 Mar 2023 18:59:58 +0100 Subject: [PATCH] chore(package): add lint fix script Signed-off-by: mateonunez --- package.json | 1 + packages/cli/package.json | 1 + packages/drill/package.json | 1 + packages/falcon/package.json | 1 + packages/huston/package.json | 1 + packages/rover/package.json | 1 + 6 files changed, 6 insertions(+) diff --git a/package.json b/package.json index 5c525bf6..1f257784 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "asterism": "node ./packages/cli/cli.mjs", "prepare": "husky install", "lint": "pnpm -r --workspace-concurrency=1 lint", + "lint:fix": "pnpm -r --workspace-concurrency=1 lint:fix", "test": "pnpm -r --workspace-concurrency=1 test" }, "devDependencies": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 60f96ba1..080cdfac 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -9,6 +9,7 @@ "homepage": "https://github.com/mateonunez/asterism", "scripts": { "lint": "standard | snazzy", + "lint:fix": "standard --fix | snazzy", "test": "npm run lint && c8 --100 tap --no-coverage test/**/*.test.mjs" }, "repository": { diff --git a/packages/drill/package.json b/packages/drill/package.json index 5c286e76..b6faa6a8 100644 --- a/packages/drill/package.json +++ b/packages/drill/package.json @@ -6,6 +6,7 @@ "type": "module", "scripts": { "lint": "standard | snazzy", + "lint:fix": "standard --fix | snazzy", "test": "npm run lint && c8 --100 tap --no-coverage test/**/*.test.js" }, "repository": { diff --git a/packages/falcon/package.json b/packages/falcon/package.json index 50b64eca..aae3cfe2 100644 --- a/packages/falcon/package.json +++ b/packages/falcon/package.json @@ -6,6 +6,7 @@ "type": "module", "scripts": { "lint": "standard | snazzy", + "lint:f": "standard --fix | snazzy", "test": "npm run lint && c8 --100 tap --no-coverage test/**/*.test.js" }, "repository": { diff --git a/packages/huston/package.json b/packages/huston/package.json index aeb831bd..6c6ff301 100644 --- a/packages/huston/package.json +++ b/packages/huston/package.json @@ -5,6 +5,7 @@ "main": "huston.js", "scripts": { "lint": "standard | snazzy", + "lint:fix": "standard --fix | snazzy", "test": "npm run lint && c8 --100 tap --no-coverage test/**/*.test.js" }, "repository": { diff --git a/packages/rover/package.json b/packages/rover/package.json index aa41f82e..b9f44a39 100644 --- a/packages/rover/package.json +++ b/packages/rover/package.json @@ -5,6 +5,7 @@ "main": "rover.js", "scripts": { "lint": "standard | snazzy", + "lint:fix": "standard --fix | snazzy", "test": "npm run lint && c8 --100 tap --no-coverage test/**/*.test.mjs" }, "repository": {