@@ -3,72 +3,69 @@ module.exports = {
33 es6 : true ,
44 node : true ,
55 } ,
6- extends : [ " eslint:recommended" , " plugin:eslint-comments/recommended" ] ,
7- ignorePatterns : [ " .eslintrc.js" ] ,
6+ extends : [ ' eslint:recommended' , ' plugin:eslint-comments/recommended' ] ,
7+ ignorePatterns : [ ' .eslintrc.js' ] ,
88 overrides : [
99 {
1010 extends : [
11- " eslint:recommended" ,
12- " plugin:@typescript-eslint/eslint-recommended" ,
13- " plugin:@typescript-eslint/recommended" ,
14- " plugin:@typescript-eslint/recommended-requiring-type-checking" ,
11+ ' eslint:recommended' ,
12+ ' plugin:@typescript-eslint/eslint-recommended' ,
13+ ' plugin:@typescript-eslint/recommended' ,
14+ ' plugin:@typescript-eslint/recommended-requiring-type-checking' ,
1515 ] ,
16- files : [ " *.ts" ] ,
16+ files : [ ' *.ts' ] ,
1717 rules : {
18- "@typescript-eslint/ban-ts-comment" : "off" ,
19- "@typescript-eslint/ban-types" : "off" ,
20- "@typescript-eslint/consistent-type-imports" : "error" ,
21- "@typescript-eslint/explicit-module-boundary-types" : "off" ,
22- "@typescript-eslint/no-empty-function" : "off" ,
23- "@typescript-eslint/no-empty-interface" : "off" ,
24- "@typescript-eslint/no-explicit-any" : "off" ,
25- "@typescript-eslint/no-misused-promises" : "off" ,
26- "@typescript-eslint/no-non-null-assertion" : "off" ,
27- "@typescript-eslint/no-unnecessary-type-assertion" : "off" ,
28- "@typescript-eslint/no-unsafe-argument" : "warn" ,
29- "@typescript-eslint/no-unsafe-assignment" : "off" ,
30- "@typescript-eslint/no-unsafe-call" : "off" ,
31- "@typescript-eslint/no-unsafe-member-access" : "off" ,
32- "@typescript-eslint/no-unsafe-return" : "off" ,
33- "@typescript-eslint/no-use-before-define" : "off" ,
34- "@typescript-eslint/no-var-requires" : "off" ,
35- "@typescript-eslint/restrict-plus-operands" : "off" ,
36- "@typescript-eslint/restrict-template-expressions" : "off" ,
37- "eslint-comments/disable-enable-pair" : "error" ,
38- "eslint-comments/no-aggregating-enable" : "error" ,
39- "eslint-comments/no-duplicate-disable" : "error" ,
40- "eslint-comments/no-unlimited-disable" : "error" ,
41- "eslint-comments/no-unused-disable" : "error" ,
42- "eslint-comments/no-unused-enable" : "error" ,
43- "import/first" : "error" ,
44- "import/newline-after-import" : "error" ,
45- "import/no-duplicates" : "error" ,
46- "no-empty" : "off" ,
47- "no-useless-escape" : "off" ,
48- "sort-keys-fix/sort-keys-fix" : "warn" ,
18+ '@typescript-eslint/ban-ts-comment' : 'off' ,
19+ '@typescript-eslint/ban-types' : 'off' ,
20+ '@typescript-eslint/consistent-type-imports' : 'error' ,
21+ '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
22+ '@typescript-eslint/indent' : 'off' ,
23+ '@typescript-eslint/no-empty-function' : 'off' ,
24+ '@typescript-eslint/no-empty-interface' : 'off' ,
25+ '@typescript-eslint/no-explicit-any' : 'off' ,
26+ '@typescript-eslint/no-misused-promises' : 'off' ,
27+ '@typescript-eslint/no-non-null-assertion' : 'off' ,
28+ '@typescript-eslint/no-unnecessary-type-assertion' : 'off' ,
29+ '@typescript-eslint/no-unsafe-argument' : 'warn' ,
30+ '@typescript-eslint/no-unsafe-assignment' : 'off' ,
31+ '@typescript-eslint/no-unsafe-call' : 'off' ,
32+ '@typescript-eslint/no-unsafe-member-access' : 'off' ,
33+ '@typescript-eslint/no-unsafe-return' : 'off' ,
34+ '@typescript-eslint/no-use-before-define' : 'off' ,
35+ '@typescript-eslint/no-var-requires' : 'off' ,
36+ '@typescript-eslint/restrict-plus-operands' : 'off' ,
37+ '@typescript-eslint/restrict-template-expressions' : 'off' ,
38+ 'eslint-comments/disable-enable-pair' : 'error' ,
39+ 'eslint-comments/no-aggregating-enable' : 'error' ,
40+ 'eslint-comments/no-duplicate-disable' : 'error' ,
41+ 'eslint-comments/no-unlimited-disable' : 'error' ,
42+ 'eslint-comments/no-unused-disable' : 'error' ,
43+ 'eslint-comments/no-unused-enable' : 'error' ,
44+ 'import/first' : 'error' ,
45+ 'import/newline-after-import' : 'error' ,
46+ 'import/no-duplicates' : 'error' ,
47+ 'no-empty' : 'off' ,
48+ 'no-useless-escape' : 'off' ,
49+ 'sort-keys-fix/sort-keys-fix' : 'warn' ,
4950 } ,
5051 } ,
5152 {
52- plugins : [ " json-files" ] ,
53- files : [ " *.json" ] ,
53+ plugins : [ ' json-files' ] ,
54+ files : [ ' *.json' ] ,
5455 rules : {
55- " json-files/require-engines" : " warn" ,
56- " json-files/require-license" : " warn" ,
57- " json-files/require-unique-dependency-names" : " error" ,
58- " json-files/sort-package-json" : " warn" ,
56+ ' json-files/require-engines' : ' warn' ,
57+ ' json-files/require-license' : ' warn' ,
58+ ' json-files/require-unique-dependency-names' : ' error' ,
59+ ' json-files/sort-package-json' : ' warn' ,
5960 } ,
6061 } ,
6162 ] ,
62- parser : " @typescript-eslint/parser" ,
63+ parser : ' @typescript-eslint/parser' ,
6364 parserOptions : {
6465 ecmaVersion : 2020 ,
65- project : [ " ./tsconfig.json" ] , // debugLevel: true,
66- sourceType : " module" ,
66+ project : [ ' ./tsconfig.json' ] , // debugLevel: true,
67+ sourceType : ' module' ,
6768 } ,
68- plugins : [
69- "@typescript-eslint" ,
70- "sort-keys-fix" ,
71- "import" ,
72- ] ,
69+ plugins : [ '@typescript-eslint' , 'sort-keys-fix' , 'import' ] ,
7370 root : true ,
7471} ;
0 commit comments