diff --git a/packages/eslint-config/src/rules/namingConvention.ts b/packages/eslint-config/src/rules/namingConvention.ts index 943c4e5e..596c0e94 100644 --- a/packages/eslint-config/src/rules/namingConvention.ts +++ b/packages/eslint-config/src/rules/namingConvention.ts @@ -54,7 +54,9 @@ export const namingRules: Linter.RulesRecord = { 'will', 'allow', ]; - return `^(${booleanValues.join('|')})|^[a-z]+(${booleanValues + return `^(disabled$|${booleanValues.join( + '|', + )})|^[a-z]+(${booleanValues .map((name) => `${name[0].toUpperCase()}${name.substring(1)}`) .join('|')})`; })(),