Skip to content

Commit a415ced

Browse files
authored
chore: cleanup --report-unused-disable-directives (#1093)
<!-- 👋 Hi, thanks for sending a PR to create-typescript-app! 💖. Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [x] Addresses an existing open issue: fixes #1089 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Removes all references to `--report-unused-disable-directives`
1 parent 2368600 commit a415ced

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/steps/writing/creation/writePackageJson.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe("writePackageJson", () => {
102102
"scripts": {
103103
"build": "tsup",
104104
"format": "prettier "**/*" --ignore-unknown",
105-
"lint": "eslint . .*js --max-warnings 0 --report-unused-disable-directives",
105+
"lint": "eslint . .*js --max-warnings 0",
106106
"lint:knip": "knip",
107107
"lint:md": "markdownlint "**/*.md" ".github/**/*.md" --rules sentences-per-line",
108108
"lint:package-json": "npmPkgJsonLint .",
@@ -172,7 +172,7 @@ describe("writePackageJson", () => {
172172
"scripts": {
173173
"build": "tsup",
174174
"format": "prettier "**/*" --ignore-unknown",
175-
"lint": "eslint . .*js --max-warnings 0 --report-unused-disable-directives",
175+
"lint": "eslint . .*js --max-warnings 0",
176176
"prepare": "husky install",
177177
"tsc": "tsc",
178178
},

src/steps/writing/creation/writePackageJson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export async function writePackageJson(options: Options) {
7878
scripts: {
7979
build: "tsup",
8080
format: 'prettier "**/*" --ignore-unknown',
81-
lint: "eslint . .*js --max-warnings 0 --report-unused-disable-directives",
81+
lint: "eslint . .*js --max-warnings 0",
8282
...(!options.excludeLintKnip && {
8383
"lint:knip": "knip",
8484
}),

0 commit comments

Comments
 (0)