Skip to content

Commit 2e7fe1b

Browse files
fix: blockESLintPlugin should have ruleDocTitleFormatname, not prefix-name
1 parent adbddb1 commit 2e7fe1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/blocks/blockESLintPlugin.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe("blockESLintPlugin", () => {
125125
...(await prettier.resolveConfig(path)),
126126
parser: "markdown",
127127
}),
128-
ruleDocTitleFormat: "prefix-name",
128+
ruleDocTitleFormat: "name",
129129
};
130130
131131
export default config;
@@ -258,7 +258,7 @@ describe("blockESLintPlugin", () => {
258258
...(await prettier.resolveConfig(path)),
259259
parser: "markdown",
260260
}),
261-
ruleDocTitleFormat: "prefix-name",
261+
ruleDocTitleFormat: "name",
262262
};
263263
264264
export default config;
@@ -389,7 +389,7 @@ describe("blockESLintPlugin", () => {
389389
...(await prettier.resolveConfig(path)),
390390
parser: "markdown",
391391
}),
392-
ruleDocTitleFormat: "prefix-name",
392+
ruleDocTitleFormat: "name",
393393
};
394394
395395
export default config;

src/blocks/blockESLintPlugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const config = {
9595
...(await prettier.resolveConfig(path)),
9696
parser: "markdown",
9797
}),
98-
ruleDocTitleFormat: "prefix-name",
98+
ruleDocTitleFormat: "name",
9999
};
100100
101101
export default config;

0 commit comments

Comments
 (0)