Skip to content

Commit d391725

Browse files
committed
enables "no-indirect-imports"
1 parent 038ac51 commit d391725

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tools/eslint-plugin/src/index.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import { rules } from './rules';
88
//------------------------------------------------------------------------------
99

1010
type RuleKey = keyof typeof rules;
11-
// type DefaultConfigsRecord = Exclude<ESLint.Plugin['configs'], undefined>;
12-
// type DefaultConfig = DefaultConfigsRecord[string];
13-
// type DefaultConfigRules = DefaultConfig['rules'];
1411

1512
interface Plugin extends Omit<ESLint.Plugin, 'rules'> {
1613
rules: Record<RuleKey, RuleModule<any, any, any>>;
@@ -26,12 +23,9 @@ const plugin: Plugin = {
2623
internal: {
2724
plugins: ['@lg-tools'],
2825
rules: {
29-
'@lg-tools/boolean-verb-prefix': [
30-
'off',
31-
{ allowVarNames: ['darkMode', 'fix'] },
32-
],
33-
'@lg-tools/no-indirect-imports': ['off'],
34-
'@lg-tools/standard-testid': ['off', { prefix: 'lg-' }],
26+
'@lg-tools/no-indirect-imports': ['error'],
27+
'@lg-tools/boolean-verb-prefix': ['off'],
28+
'@lg-tools/standard-testid': ['off'],
3529
},
3630
},
3731
external: {

0 commit comments

Comments
 (0)