We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0aaf78 commit 5b0a50bCopy full SHA for 5b0a50b
packages/cli/src/readConfig.ts
@@ -15,7 +15,7 @@ export async function readConfig(program: Command, alternate = ".attw.json") {
15
const value = opts[key];
16
17
if (key === "ignoreRules") {
18
- if (!Array.isArray(value)) program.error(`error: config option 'ignore' should be an array.`);
+ if (!Array.isArray(value)) program.error(`error: config option 'ignoreRules' should be an array.`);
19
const invalid = value.find((rule) => !Object.values(problemFlags).includes(rule));
20
if (invalid)
21
program.error(
0 commit comments