@@ -20,42 +20,46 @@ module.exports = {
20
20
'**/lib/**/*' ,
21
21
'**/_*.ts' ,
22
22
'**/_*.d.ts' ,
23
- '**/typings/**/*.d.ts'
23
+ '**/typings/**/*.d.ts' ,
24
+ '**/dist/*'
24
25
] ,
25
26
parser : '@typescript-eslint/parser' ,
26
27
parserOptions : {
27
28
project : 'packages/tsconfig.eslint.json'
28
29
} ,
29
30
plugins : [ '@typescript-eslint' , 'jest' ] ,
30
31
rules : {
31
- '@typescript-eslint/no-floating-promises' : [ 'error' , { ignoreVoid : true } ] ,
32
- '@typescript-eslint/no-unused-vars' : [ 'warn' , { args : 'none' } ] ,
33
- '@typescript-eslint/no-use-before-define' : 'off' ,
32
+ '@typescript-eslint/ban-ts-ignore' : 'warn' ,
34
33
'@typescript-eslint/camelcase' : 'off' ,
35
- '@typescript-eslint/no-explicit-any' : 'off' ,
36
- '@typescript-eslint/no-non-null-assertion' : 'off' ,
37
- '@typescript-eslint/no-namespace' : 'off' ,
38
34
'@typescript-eslint/explicit-function-return-type' : 'off' ,
39
- '@typescript-eslint/ban-ts-ignore' : 'warn' ,
40
- '@typescript-eslint/no-var-requires' : 'off' ,
35
+ '@typescript-eslint/interface-name-prefix' : [
36
+ 'error' ,
37
+ { prefixWithI : 'always' }
38
+ ] ,
41
39
'@typescript-eslint/no-empty-interface' : 'off' ,
40
+ '@typescript-eslint/no-explicit-any' : 'off' ,
41
+ '@typescript-eslint/no-floating-promises' : [ 'error' , { ignoreVoid : true } ] ,
42
42
'@typescript-eslint/no-inferrable-types' : 'off' ,
43
+ '@typescript-eslint/no-namespace' : 'off' ,
44
+ '@typescript-eslint/no-non-null-assertion' : 'off' ,
45
+ '@typescript-eslint/no-unused-vars' : [ 'warn' , { args : 'none' } ] ,
46
+ '@typescript-eslint/no-use-before-define' : 'off' ,
47
+ '@typescript-eslint/no-var-requires' : 'off' ,
48
+ 'jest/expect-expect' : 'off' ,
49
+ 'jest/no-export' : 'warn' ,
50
+ 'jest/no-jest-import' : 'off' ,
51
+ 'jest/no-try-expect' : 'warn' ,
52
+ 'no-case-declarations' : 'warn' ,
53
+ 'no-control-regex' : 'warn' ,
43
54
'no-inner-declarations' : 'off' ,
44
55
'no-prototype-builtins' : 'off' ,
45
- 'no-control-regex' : 'warn' ,
46
56
'no-undef' : 'warn' ,
47
- 'no-case-declarations' : 'warn' ,
48
57
'no-useless-escape' : 'off' ,
49
58
'prefer-const' : 'off' ,
50
- 'jest/no-jest-import' : 'off' ,
51
- 'jest/no-export' : 'warn' ,
52
- 'jest/no-try-expect' : 'warn' ,
53
- 'jest/expect-expect' : 'off' ,
54
59
// deviations from jupyterlab, should probably be fixed
55
60
'jest/valid-expect' : 'off' ,
56
61
'jest/no-test-callback' : 'off' ,
57
62
'@typescript-eslint/ban-ts-ignore' : 'off' ,
58
- '@typescript-eslint/interface-name-prefix' : 'off' ,
59
63
'react/display-name' : 'off' ,
60
64
'prefer-spread' : 'off' ,
61
65
'@typescript-eslint/triple-slash-reference' : 'off' ,
0 commit comments