From 4b2ef474f5410b79759c9d8caec2bfaed6b4761b Mon Sep 17 00:00:00 2001 From: Kevin Scott <151596+thekevinscott@users.noreply.github.com> Date: Thu, 5 Oct 2023 07:45:33 -0400 Subject: [PATCH] Remove lint:fix scripts --- models/esrgan-slim/package.json | 6 +----- models/esrgan-thick/package.json | 6 +----- models/pixel-upsampler/package.json | 6 +----- scripts/package-scripts/create-new-model-folder.ts | 1 - 4 files changed, 3 insertions(+), 16 deletions(-) diff --git a/models/esrgan-slim/package.json b/models/esrgan-slim/package.json index 913173813..befabf7b3 100644 --- a/models/esrgan-slim/package.json +++ b/models/esrgan-slim/package.json @@ -41,7 +41,6 @@ }, "scripts": { "scaffold:dependencies": "wireit", - "lint:fix": "wireit", "lint": "wireit", "prepublishOnly": "wireit", "validate:build": "wireit", @@ -86,9 +85,6 @@ "scaffold:dependencies": { "command": "ts-node ../../scripts/package-scripts/scaffold-dependencies.ts --src models/esrgan-slim --config models/scaffolder.ts" }, - "lint:fix": { - "command": "pnpm lint --fix" - }, "lint": { "command": "pnpm scaffold:dependencies && eslint -c ../.eslintrc.js src --ext .ts" }, @@ -114,4 +110,4 @@ "command": "pnpm --filter @upscalerjs/scripts model:clean esrgan-slim" } } -} \ No newline at end of file +} diff --git a/models/esrgan-thick/package.json b/models/esrgan-thick/package.json index c96bf2ca8..6d1e19f06 100644 --- a/models/esrgan-thick/package.json +++ b/models/esrgan-thick/package.json @@ -41,7 +41,6 @@ }, "scripts": { "scaffold:dependencies": "wireit", - "lint:fix": "wireit", "lint": "wireit", "prepublishOnly": "wireit", "validate:build": "wireit", @@ -79,9 +78,6 @@ "scaffold:dependencies": { "command": "ts-node ../../scripts/package-scripts/scaffold-dependencies.ts --src models/esrgan-thick --config models/scaffolder.ts" }, - "lint:fix": { - "command": "pnpm lint --fix" - }, "lint": { "command": "pnpm scaffold:dependencies && eslint -c ../.eslintrc.js src --ext .ts" }, @@ -107,4 +103,4 @@ "command": "ts-node ../../scripts/package-scripts/clean-model.ts esrgan-thick" } } -} \ No newline at end of file +} diff --git a/models/pixel-upsampler/package.json b/models/pixel-upsampler/package.json index 44d5b8e33..c07013c55 100644 --- a/models/pixel-upsampler/package.json +++ b/models/pixel-upsampler/package.json @@ -4,7 +4,6 @@ "description": "Pixel Upsampler Model for UpscalerJS", "scripts": { "scaffold:dependencies": "wireit", - "lint:fix": "wireit", "lint": "wireit", "prepublishOnly": "wireit", "validate:build": "wireit", @@ -54,9 +53,6 @@ "scaffold:dependencies": { "command": "ts-node ../../scripts/package-scripts/scaffold-dependencies.ts --src models/pixel-upsampler --config models/scaffolder.ts" }, - "lint:fix": { - "command": "pnpm lint --fix" - }, "lint": { "command": "pnpm scaffold:dependencies && eslint -c ../.eslintrc.js src --ext .ts" }, @@ -70,4 +66,4 @@ "command": "ts-node ../../scripts/package-scripts/build-model.ts pixel-upsampler -o cjs -o esm -o umd" } } -} \ No newline at end of file +} diff --git a/scripts/package-scripts/create-new-model-folder.ts b/scripts/package-scripts/create-new-model-folder.ts index 8767d5bfa..1224ba240 100644 --- a/scripts/package-scripts/create-new-model-folder.ts +++ b/scripts/package-scripts/create-new-model-folder.ts @@ -130,7 +130,6 @@ const createPackageJSON = (name: string, description: string, keywords = DEFAULT }, "scripts": { "scaffold:dependencies": `ts-node ../../scripts/package-scripts/scaffold-dependencies.ts --src models/${name} --config models/scaffolder.ts`, - "lint:fix": "pnpm lint --fix", "lint": "pnpm scaffold:dependencies && eslint -c ../.eslintrc.js src --ext .ts", "prepublishOnly": "pnpm lint && pnpm build && pnpm validate:build", "validate:build": `ts-node ../../scripts/package-scripts/validate-build.ts models/${name}`,