File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ import { rules } from './rules';
8
8
//------------------------------------------------------------------------------
9
9
10
10
type RuleKey = keyof typeof rules ;
11
- // type DefaultConfigsRecord = Exclude<ESLint.Plugin['configs'], undefined>;
12
- // type DefaultConfig = DefaultConfigsRecord[string];
13
- // type DefaultConfigRules = DefaultConfig['rules'];
14
11
15
12
interface Plugin extends Omit < ESLint . Plugin , 'rules' > {
16
13
rules : Record < RuleKey , RuleModule < any , any , any > > ;
@@ -26,12 +23,9 @@ const plugin: Plugin = {
26
23
internal : {
27
24
plugins : [ '@lg-tools' ] ,
28
25
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' ] ,
35
29
} ,
36
30
} ,
37
31
external : {
You can’t perform that action at this time.
0 commit comments