Enable unicorn/template-indent rule (#12469)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-03-17 20:13:28 +08:00
1 parent 361dc14f06
commit ae080df3e7
13 files changed
+122 -104

No files matched your search

+6 -6
View File
@@ -163,13 +163,13 @@ const checkParser = ({ dirname, files }, parsers = []) => {
suggestCategories.length === 0
? ""
: outdent`
Suggest move your tests to:
${suggestCategories
.map((category) => `- ${path.join(TESTS_ROOT, category)}`)
.join("\n")}
Suggest move your tests to:
${suggestCategories
.map((category) => `- ${path.join(TESTS_ROOT, category)}`)
.join("\n")}
Or config to allow use this parser in "${__filename}".
`;
Or config to allow use this parser in "${__filename}".
`;
throw new Error(
`Parser "${parser}" should not used in "${dirname}".${