Skip to content

Commit f27f90c

Browse files
fix: finish removing **/*.md/*.ts eslint.config.js overrides (#1699)
<!-- 👋 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 #1690 (continues, really) - [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 I'd left in this bit by accident. 💖
1 parent fdc405f commit f27f90c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

eslint.config.js

-4
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,6 @@ export default tseslint.config(
104104
},
105105
},
106106
},
107-
{
108-
extends: [tseslint.configs.disableTypeChecked],
109-
files: ["**/*.md/*.ts"],
110-
},
111107
{
112108
extends: [vitest.configs.recommended],
113109
files: ["**/*.test.*"],

script/__snapshots__/migrate-test-e2e.ts.snap

+9-5
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,22 @@ exports[`expected file changes > eslint.config.js 1`] = `
162162
"logical-assignment-operators": [
163163
"error",
164164
@@ ... @@ export default tseslint.config(
165-
{
166-
extends: [tseslint.configs.disableTypeChecked],
167-
files: ["**/*.md/*.ts"],
165+
},
166+
},
167+
},
168+
+ {
169+
+ extends: [tseslint.configs.disableTypeChecked],
170+
+ files: ["**/*.md/*.ts"],
168171
+ rules: {
169172
+ "n/no-missing-import": [
170173
+ "error",
171174
+ { allowModules: ["create-typescript-app"] },
172175
+ ],
173176
+ },
174-
},
177+
+ },
175178
{
176-
extends: [vitest.configs.recommended],"
179+
extends: [vitest.configs.recommended],
180+
files: ["**/*.test.*"],"
177181
`;
178182
179183
exports[`expected file changes > knip.json 1`] = `

0 commit comments

Comments
 (0)