@@ -23,6 +23,18 @@ export default [
23
23
}
24
24
}
25
25
} ,
26
+ // projectService is resource intensive, so only listing rules that require it here
27
+ {
28
+ languageOptions : {
29
+ parserOptions : {
30
+ projectService : true
31
+ }
32
+ } ,
33
+ rules : {
34
+ '@typescript-eslint/await-thenable' : 'error' ,
35
+ '@typescript-eslint/require-await' : 'error'
36
+ }
37
+ } ,
26
38
{
27
39
plugins : {
28
40
n : node , '@stylistic' : stylistic
@@ -40,7 +52,6 @@ export default [
40
52
'@stylistic/quote-props' : [ 'error' , 'as-needed' ] ,
41
53
'@stylistic/quotes' : [ 'error' , 'single' , { avoidEscape : true , allowTemplateLiterals : true } ] ,
42
54
'@typescript-eslint/array-type' : [ 'error' , { default : 'array-simple' } ] ,
43
- '@typescript-eslint/await-thenable' : 'error' ,
44
55
'@typescript-eslint/ban-ts-comment' : 'off' ,
45
56
'@typescript-eslint/ban-types' : 'off' ,
46
57
'@typescript-eslint/camelcase' : 'off' ,
@@ -57,7 +68,6 @@ export default [
57
68
'@typescript-eslint/no-unused-vars' : [ 'error' , { args : 'after-used' , argsIgnorePattern : '^_' } ] ,
58
69
'@typescript-eslint/no-use-before-define' : 'off' ,
59
70
'@typescript-eslint/prefer-interface' : 'off' ,
60
- '@typescript-eslint/require-await' : 'error' ,
61
71
'no-constant-condition' : [ 'error' , { checkLoops : false } ] ,
62
72
'no-duplicate-imports' : 'error' ,
63
73
'no-empty' : [ 'error' , { allowEmptyCatch : true } ] ,
0 commit comments