@@ -3,12 +3,12 @@ module.exports = {
33 es6 : true ,
44 node : true ,
55 } ,
6- extends : [ "airbnb-base " , "eslint-config- prettier" , "plugin: @typescript-eslint/all " ] ,
6+ extends : [ "plugin:@typescript-eslint/all " , "prettier" , "prettier/ @typescript-eslint" ] ,
77 overrides : [
88 {
99 files : [ "*.stubs.ts" , "*.test.ts" ] ,
1010 rules : {
11- "@typescript-eslint/promise-function-async" : 0 ,
11+ "@typescript-eslint/promise-function-async" : "off" ,
1212 } ,
1313 } ,
1414 ] ,
@@ -18,41 +18,17 @@ module.exports = {
1818 } ,
1919 plugins : [ "@typescript-eslint" ] ,
2020 rules : {
21- "@typescript-eslint/consistent-type-definitions" : 0 ,
22- "@typescript-eslint/explicit-function-return-type" : 0 ,
23- "@typescript-eslint/generic-type-naming" : 0 ,
24- "@typescript-eslint/indent" : 0 ,
25- "@typescript-eslint/member-ordering" : 0 ,
26- "@typescript-eslint/no-empty-function" : 0 ,
27- "@typescript-eslint/no-explicit-any" : 0 ,
28- "@typescript-eslint/no-extra-parens" : 0 ,
29- "@typescript-eslint/no-magic-numbers" : 0 ,
30- "@typescript-eslint/no-parameter-properties" : 0 ,
31- "@typescript-eslint/no-type-alias" : 0 ,
32- "@typescript-eslint/no-unnecessary-condition" : 0 ,
33- "@typescript-eslint/no-use-before-define" : 0 ,
34- "@typescript-eslint/prefer-for-of" : 1 ,
35- "@typescript-eslint/prefer-interface" : 0 ,
36- "@typescript-eslint/quotes" : 0 ,
37- "@typescript-eslint/require-await" : 0 ,
38- "@typescript-eslint/strict-boolean-expressions" : 0 ,
39- "@typescript-eslint/typedef" : 0 ,
40- "default-case" : 0 ,
41- "guard-for-in" : 0 ,
42- "import/no-extraneous-dependencies" : [
43- "error" ,
44- { devDependencies : [ "**/*.stubs.ts" , "**/*.test.*" ] } ,
45- ] ,
46- "import/first" : 0 ,
47- "import/no-unresolved" : 0 ,
48- "import/prefer-default-export" : 0 ,
49- "no-console" : 0 ,
50- "no-continue" : 0 ,
51- "no-restricted-syntax" : 0 ,
52- "no-param-reassign" : 0 ,
53- "no-return-await" : 0 ,
54- "no-shadow" : 0 ,
55- "no-undef" : 0 ,
56- "no-useless-constructor" : 0 ,
21+ "@typescript-eslint/consistent-type-definitions" : [ "error" , "type" ] ,
22+ "@typescript-eslint/explicit-function-return-type" : "off" ,
23+ "@typescript-eslint/generic-type-naming" : "off" ,
24+ "@typescript-eslint/no-explicit-any" : "off" ,
25+ "@typescript-eslint/no-magic-numbers" : "off" ,
26+ "@typescript-eslint/no-parameter-properties" : "off" ,
27+ "@typescript-eslint/no-type-alias" : "off" ,
28+ "@typescript-eslint/no-unnecessary-condition" : "off" ,
29+ "@typescript-eslint/no-use-before-define" : "off" ,
30+ "@typescript-eslint/require-await" : "off" ,
31+ "@typescript-eslint/strict-boolean-expressions" : "off" ,
32+ "@typescript-eslint/typedef" : "off" ,
5733 } ,
5834} ;
0 commit comments