Skip to content

Commit

Permalink
Remove lint:fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
thekevinscott committed Oct 5, 2023
1 parent d274c8b commit 4b2ef47
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
6 changes: 1 addition & 5 deletions models/esrgan-slim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
"scripts": {
"scaffold:dependencies": "wireit",
"lint:fix": "wireit",
"lint": "wireit",
"prepublishOnly": "wireit",
"validate:build": "wireit",
Expand Down Expand Up @@ -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"
},
Expand All @@ -114,4 +110,4 @@
"command": "pnpm --filter @upscalerjs/scripts model:clean esrgan-slim"
}
}
}
}
6 changes: 1 addition & 5 deletions models/esrgan-thick/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
"scripts": {
"scaffold:dependencies": "wireit",
"lint:fix": "wireit",
"lint": "wireit",
"prepublishOnly": "wireit",
"validate:build": "wireit",
Expand Down Expand Up @@ -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"
},
Expand All @@ -107,4 +103,4 @@
"command": "ts-node ../../scripts/package-scripts/clean-model.ts esrgan-thick"
}
}
}
}
6 changes: 1 addition & 5 deletions models/pixel-upsampler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"description": "Pixel Upsampler Model for UpscalerJS",
"scripts": {
"scaffold:dependencies": "wireit",
"lint:fix": "wireit",
"lint": "wireit",
"prepublishOnly": "wireit",
"validate:build": "wireit",
Expand Down Expand Up @@ -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"
},
Expand All @@ -70,4 +66,4 @@
"command": "ts-node ../../scripts/package-scripts/build-model.ts pixel-upsampler -o cjs -o esm -o umd"
}
}
}
}
1 change: 0 additions & 1 deletion scripts/package-scripts/create-new-model-folder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit 4b2ef47

Please sign in to comment.