Skip to content

Commit b607c44

Browse files
authoredMar 14, 2024··
fix: use plugin:markdown/recommended-legacy (#1381)
## PR Checklist - [x] Addresses an existing open issue: fixes #1380 - [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 Switches to the `recommended-legacy` plugin and bumps `eslint-plugin-markdown` to the latest version, 4.x.
1 parent 0b494fa commit b607c44

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed
 

Diff for: ‎.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
ignorePatterns: ["!.*", "coverage*", "lib", "node_modules", "pnpm-lock.yaml"],
2626
overrides: [
2727
{
28-
extends: ["plugin:markdown/recommended"],
28+
extends: ["plugin:markdown/recommended-legacy"],
2929
files: ["**/*.md"],
3030
processor: "markdown/markdown",
3131
},

Diff for: ‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"eslint-plugin-eslint-comments": "^3.2.0",
7777
"eslint-plugin-jsdoc": "^48.0.0",
7878
"eslint-plugin-jsonc": "^2.10.0",
79-
"eslint-plugin-markdown": "^3.0.1",
79+
"eslint-plugin-markdown": "^4.0.1",
8080
"eslint-plugin-n": "^16.3.1",
8181
"eslint-plugin-package-json": "^0.10.0",
8282
"eslint-plugin-perfectionist": "^2.5.0",

Diff for: ‎pnpm-lock.yaml

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ‎script/__snapshots__/migrate-test-e2e.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exports[`expected file changes > .eslintrc.cjs 1`] = `
2525
+ ignorePatterns: ["!.*", "coverage", "lib", "node_modules", "pnpm-lock.yaml"],
2626
overrides: [
2727
{
28-
extends: ["plugin:markdown/recommended"],
28+
extends: ["plugin:markdown/recommended-legacy"],
2929
@@ ... @@ module.exports = {
3030
rules: {
3131
// These off-by-default rules work well for this repo and we like them on.

Diff for: ‎src/steps/writing/creation/createESLintRC.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe("createESLintRC", () => {
128128
ignorePatterns: ["!.*", "coverage", "lib", "node_modules", "pnpm-lock.yaml"],
129129
overrides: [
130130
{
131-
extends: ["plugin:markdown/recommended"],
131+
extends: ["plugin:markdown/recommended-legacy"],
132132
files: ["**/*.md"],
133133
processor: "markdown/markdown",
134134
},

Diff for: ‎src/steps/writing/creation/createESLintRC.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = {
3535
? ""
3636
: `
3737
{
38-
extends: ["plugin:markdown/recommended"],
38+
extends: ["plugin:markdown/recommended-legacy"],
3939
files: ["**/*.md"],
4040
processor: "markdown/markdown",
4141
},`

0 commit comments

Comments
 (0)
Please sign in to comment.