1- /*
2- 👋 Hi! This file was autogenerated by tslint-to-eslint-config.
3- https://github.com/typescript-eslint/tslint-to-eslint-config
4-
5- It represents the closest reasonable ESLint configuration to this
6- project's original TSLint configuration.
7-
8- We recommend eventually switching this configuration to extend from
9- the recommended rulesets in typescript-eslint.
10- https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md
11-
12- Happy linting! 💖
13- */
141module . exports = {
152 "env" : {
163 "browser" : true ,
@@ -19,144 +6,19 @@ module.exports = {
196 "node" : true
207 } ,
218 "extends" : [
22- "plugin:@typescript-eslint/recommended" ,
23- "plugin:@typescript-eslint/recommended-requiring-type-checking"
9+ "plugin:@typescript-eslint/recommended"
2410 ] ,
2511 "parser" : "@typescript-eslint/parser" ,
2612 "parserOptions" : {
2713 "project" : "tsconfig.json" ,
2814 "sourceType" : "module"
2915 } ,
3016 "plugins" : [
31- "eslint-plugin-import" ,
32- "eslint-plugin-prefer-arrow" ,
33- "@typescript-eslint"
17+ "@typescript-eslint" ,
18+ "prettier"
3419 ] ,
3520 "rules" : {
36- "prefer-rest-params" : "off" ,
37- "prefer-spread" : "off" ,
38- "@typescript-eslint/no-unsafe-member-access" : "off" ,
39- "@typescript-eslint/no-unsafe-assignment" : "off" ,
40- "@typescript-eslint/no-unsafe-argument" : "off" ,
41- "@typescript-eslint/no-unsafe-member-access" : "off" ,
42- "@typescript-eslint/no-unsafe-call" : "off" ,
43- "@typescript-eslint/no-unsafe-return" : "off" ,
44- "@typescript-eslint/no-floating-promises" : "off" ,
45- "@typescript-eslint/restrict-template-expressions" : "off" ,
46- "@typescript-eslint/explicit-module-boundary-types" : "off" ,
47- "@typescript-eslint/require-await" : "off" ,
48- "@typescript-eslint/ban-ts-comment" : "off" ,
49- "@typescript-eslint/unbound-method" : "off" ,
50- "@typescript-eslint/no-this-alias" : "off" ,
51- "@typescript-eslint/prefer-regexp-exec" : "off" ,
52- "@typescript-eslint/no-misused-promises" : "off" ,
53- "@typescript-eslint/restrict-plus-operands" : "off" ,
54- // ----
55- "@typescript-eslint/adjacent-overload-signatures" : "error" ,
56- "@typescript-eslint/array-type" : [
57- "error" ,
58- {
59- "default" : "array"
60- }
61- ] ,
62- "@typescript-eslint/ban-types" : "off" ,
63- "@typescript-eslint/consistent-type-assertions" : "error" ,
64- "@typescript-eslint/dot-notation" : "error" ,
65- "@typescript-eslint/explicit-member-accessibility" : [
66- "error" ,
67- {
68- "accessibility" : "no-public"
69- }
70- ] ,
71- "@typescript-eslint/naming-convention" : "off" ,
72- "@typescript-eslint/no-empty-function" : "off" ,
73- "@typescript-eslint/no-empty-interface" : "error" ,
74- "@typescript-eslint/no-explicit-any" : "off" ,
75- "@typescript-eslint/no-misused-new" : "error" ,
76- "@typescript-eslint/no-namespace" : "error" ,
77- "@typescript-eslint/no-parameter-properties" : "off" ,
78- "@typescript-eslint/no-unused-expressions" : "error" ,
79- "@typescript-eslint/no-use-before-define" : "off" ,
80- "@typescript-eslint/no-var-requires" : "error" ,
81- "@typescript-eslint/prefer-for-of" : "error" ,
82- "@typescript-eslint/prefer-function-type" : "error" ,
83- "@typescript-eslint/prefer-namespace-keyword" : "error" ,
84- "@typescript-eslint/quotes" : [
85- "error" ,
86- "single"
87- ] ,
88- "@typescript-eslint/triple-slash-reference" : [
89- "error" ,
90- {
91- "path" : "always" ,
92- "types" : "prefer-import" ,
93- "lib" : "always"
94- }
95- ] ,
96- "@typescript-eslint/unified-signatures" : "error" ,
97- "arrow-parens" : [
98- "off" ,
99- "always"
100- ] ,
101- "comma-dangle" : "error" ,
102- "complexity" : "off" ,
103- "constructor-super" : "error" ,
104- "eqeqeq" : [
105- "error" ,
106- "smart"
107- ] ,
108- "guard-for-in" : "error" ,
109- "id-blacklist" : "off" ,
110- "id-match" : "off" ,
111- "import/order" : "off" ,
112- // "jsdoc/check-alignment": "error",
113- // "jsdoc/check-indentation": "error",
114- // "jsdoc/newline-after-description": "error",
115- "max-classes-per-file" : "off" ,
116- "max-len" : "off" ,
117- "new-parens" : "error" ,
118- "no-bitwise" : "error" ,
119- "no-caller" : "error" ,
120- "no-cond-assign" : "error" ,
121- "no-console" : "error" ,
122- "no-debugger" : "error" ,
123- "no-empty" : "off" ,
124- "no-eval" : "error" ,
125- "no-fallthrough" : "off" ,
126- "no-invalid-this" : "off" ,
127- "no-new-wrappers" : "error" ,
128- "no-shadow" : [
129- "off" ,
130- {
131- "hoist" : "all"
132- }
133- ] ,
134- "no-throw-literal" : "error" ,
135- "no-trailing-spaces" : "error" ,
136- "no-undef-init" : "error" ,
137- "no-underscore-dangle" : "off" ,
138- "no-unsafe-finally" : "error" ,
139- "no-unused-labels" : "error" ,
140- "no-var" : "error" ,
141- "object-shorthand" : "error" ,
142- "one-var" : [
143- "error" ,
144- "never"
145- ] ,
146- "prefer-arrow/prefer-arrow-functions" : "off" ,
147- "prefer-const" : "error" ,
148- "radix" : "error" ,
149- "space-before-function-paren" : "error" ,
150- "spaced-comment" : [
151- "error" ,
152- "always" ,
153- {
154- "markers" : [
155- "/"
156- ]
157- }
158- ] ,
159- "use-isnan" : "error" ,
160- "valid-typeof" : "off"
21+ "prettier/prettier" : "error" ,
22+ "@typescript-eslint/no-explicit-any" : "off"
16123 }
16224} ;
0 commit comments