@@ -25,7 +25,8 @@ module.exports = {
2525 'sourceType' : 'module'
2626 } ,
2727 'plugins' : [
28- '@typescript-eslint'
28+ '@typescript-eslint' ,
29+ '@stylistic'
2930 ] ,
3031 'root' : true ,
3132 'ignorePatterns' : [
@@ -42,7 +43,7 @@ module.exports = {
4243 'default' : 'array'
4344 }
4445 ] ,
45- '@typescript-eslint/ban -types' : [
46+ '@typescript-eslint/no-restricted -types' : [
4647 'error' ,
4748 {
4849 'types' : {
@@ -78,7 +79,6 @@ module.exports = {
7879 'allowTypedFunctionExpressions' : false
7980 }
8081 ] ,
81- '@typescript-eslint/indent' : 'error' ,
8282 '@typescript-eslint/naming-convention' : [
8383 'off' ,
8484 {
@@ -104,18 +104,18 @@ module.exports = {
104104 }
105105 ] ,
106106 '@typescript-eslint/no-unused-expressions' : 'error' ,
107+ '@typescript-eslint/no-unused-vars' : [
108+ 'warn' ,
109+ {
110+ 'caughtErrors' : 'none'
111+ }
112+ ] ,
107113 '@typescript-eslint/no-use-before-define' : 'off' ,
114+ '@typescript-eslint/no-require-imports' : 'off' ,
108115 '@typescript-eslint/no-var-requires' : 'error' ,
109116 '@typescript-eslint/prefer-for-of' : 'error' ,
110117 '@typescript-eslint/prefer-function-type' : 'error' ,
111118 '@typescript-eslint/prefer-namespace-keyword' : 'error' ,
112- '@typescript-eslint/quotes' : [
113- 'error' ,
114- 'single' ,
115- {
116- 'avoidEscape' : true
117- }
118- ] ,
119119 '@typescript-eslint/triple-slash-reference' : [
120120 'error' ,
121121 {
@@ -145,6 +145,7 @@ module.exports = {
145145 'guard-for-in' : 'error' ,
146146 'id-denylist' : 'off' ,
147147 'id-match' : 'off' ,
148+ '@stylistic/indent' : 'error' ,
148149 'indent' : 'off' ,
149150 'max-classes-per-file' : [
150151 'error' ,
@@ -184,6 +185,13 @@ module.exports = {
184185 'never'
185186 ] ,
186187 'prefer-const' : 'error' ,
188+ '@stylistic/quotes' : [
189+ 'error' ,
190+ 'single' ,
191+ {
192+ 'avoidEscape' : true
193+ }
194+ ] ,
187195 'quotes' : 'off' ,
188196 'radix' : 'error' ,
189197 'spaced-comment' : [
0 commit comments