19
19
],
20
20
"root" : true ,
21
21
"rules" : {
22
+ "@typescript-eslint/consistent-indexed-object-style" : " off" ,
23
+ "@typescript-eslint/consistent-type-definitions" : " off" ,
24
+ "@typescript-eslint/explicit-function-return-type" : " off" ,
25
+ "@typescript-eslint/lines-around-comment" : " off" ,
26
+ "@typescript-eslint/no-type-alias" : " off" ,
27
+ "@typescript-eslint/prefer-destructuring" : " off" ,
22
28
"capitalized-comments" : " off" ,
23
29
"comma-dangle" : [
24
30
" error" ,
25
31
" always-multiline"
26
32
],
33
+ "compat/compat" : " off" ,
27
34
"curly" : [
28
35
" error" ,
29
36
" multi"
30
37
],
38
+ "eslint-comments/no-use" : " off" ,
39
+ "etc/no-deprecated" : " off" ,
40
+ "etc/no-internal" : " off" ,
41
+ "etc/no-misused-generics" : " off" ,
42
+ "etc/prefer-interface" : " off" ,
43
+ "ext/lines-between-object-properties" : " off" ,
31
44
"func-names" : [
32
45
" error" ,
33
46
" always"
34
47
],
35
- "import/no-unassigned-import" : " off" ,
36
- "indent" : [
48
+ "id-length" : [
37
49
" error" ,
38
- 2
50
+ {
51
+ "exceptions" : [
52
+ " t"
53
+ ],
54
+ "min" : 2
55
+ }
39
56
],
57
+ "import/extensions" : " off" ,
58
+ "import/newline-after-import" : " off" ,
59
+ "import/no-unassigned-import" : " off" ,
60
+ "import/order" : " off" ,
61
+ "import/prefer-default-export" : " off" ,
62
+ "indent" : " off" ,
63
+ "line-comment-position" : " off" ,
64
+ "lines-around-comment" : " off" ,
40
65
"lines-between-class-members" : " off" ,
66
+ "logical-assignment-operators" : " off" ,
67
+ "max-len" : " off" ,
41
68
"max-statements-per-line" : " off" ,
42
69
"no-console" : " off" ,
70
+ "no-inline-comments" : " off" ,
71
+ "no-restricted-syntax" : [
72
+ " error" ,
73
+ {
74
+ "message" : " Avoid using Class, just use good old unit-testable functions :)" ,
75
+ "selector" : " ClassDeclaration"
76
+ },
77
+ {
78
+ "message" : " Don't specify return type on function" ,
79
+ "selector" : " FunctionDeclaration[returnType]"
80
+ },
81
+ {
82
+ "message" : " Don't specify return type on function" ,
83
+ "selector" : " FunctionExpression[returnType]"
84
+ }
85
+ ],
43
86
"object-curly-spacing" : [
44
87
" error" ,
45
88
" always"
46
89
],
47
90
"padding-line-between-statements" : " off" ,
91
+ "prefer-destructuring" : " off" ,
92
+ "prettier/prettier" : " off" ,
93
+ "putout/putout" : " off" ,
48
94
"quote-props" : [
49
95
" error" ,
50
96
" consistent-as-needed"
51
97
],
52
- "quotes" : [
98
+ "quotes" : " off" ,
99
+ "regexp/require-unicode-sets-regexp" : " off" ,
100
+ "require-atomic-updates" : [
53
101
" error" ,
54
- " single"
102
+ {
103
+ "allowProperties" : true
104
+ }
55
105
],
56
106
"semi" : [
57
107
" error" ,
58
108
" never"
59
109
],
110
+ "simple-import-sort/imports" : " off" ,
60
111
"space-before-function-paren" : [
61
112
" error" ,
62
113
" always"
63
114
],
115
+ "space-before-function-parent" : " off" ,
116
+ "total-functions/no-partial-division" : " off" ,
117
+ "total-functions/no-unsafe-readonly-mutable-assignment" : " off" ,
118
+ "typescript-compat/compat" : " off" ,
64
119
"unicorn/no-array-for-each" : " off" ,
65
120
"unicorn/no-process-exit" : " off" ,
66
121
"unicorn/prefer-module" : " off" ,
67
122
"unicorn/prefer-node-protocol" : " off" ,
123
+ "unicorn/prefer-spread" : " off" ,
124
+ "unicorn/prefer-string-replace-all" : " off" ,
68
125
"unicorn/prefer-switch" : " off" ,
69
126
"unicorn/prevent-abbreviations" : [
70
127
" error" ,
78
135
],
79
136
"vue/first-attribute-linebreak" : " off" ,
80
137
"vue/html-closing-bracket-newline" : " off" ,
138
+ "vue/html-indent" : " off" ,
81
139
"vue/html-self-closing" : " off" ,
82
140
"vue/max-attributes-per-line" : " off" ,
83
141
"vue/no-multiple-template-root" : " off" ,
84
142
"vue/singleline-html-element-content-newline" : " off"
85
143
}
86
- }
144
+ }
0 commit comments