@@ -12,82 +12,9 @@ https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FA
1212Happy linting! 💖
1313*/
1414module . exports = {
15- env : {
16- browser : true ,
17- } ,
18- extends : [ 'prettier' , 'prettier/@typescript-eslint' ] ,
15+ env : { browser : true } ,
1916 parser : '@typescript-eslint/parser' ,
20- parserOptions : {
21- project : 'tsconfig.json' ,
22- sourceType : 'module' ,
23- } ,
24- plugins : [ '@typescript-eslint' , '@typescript-eslint/tslint' ] ,
25- rules : {
26- '@typescript-eslint/dot-notation' : 'off' ,
27- '@typescript-eslint/explicit-member-accessibility' : [
28- 'off' ,
29- {
30- accessibility : 'explicit' ,
31- } ,
32- ] ,
33- '@typescript-eslint/member-ordering' : 'error' ,
34- '@typescript-eslint/no-empty-function' : 'off' ,
35- '@typescript-eslint/no-inferrable-types' : 'error' ,
36- '@typescript-eslint/no-unused-expressions' : [
37- 'error' ,
38- {
39- allowShortCircuit : true ,
40- } ,
41- ] ,
42- '@typescript-eslint/no-unused-vars' : 'error' ,
43- '@typescript-eslint/no-use-before-define' : 'error' ,
44- eqeqeq : [ 'error' , 'smart' ] ,
45- 'guard-for-in' : 'error' ,
46- 'id-blacklist' : [
47- 'error' ,
48- 'any' ,
49- 'Number' ,
50- 'number' ,
51- 'String' ,
52- 'string' ,
53- 'Boolean' ,
54- 'boolean' ,
55- 'Undefined' ,
56- 'undefined' ,
57- ] ,
58- 'id-match' : 'error' ,
59- 'no-bitwise' : 'error' ,
60- 'no-caller' : 'error' ,
61- 'no-cond-assign' : 'error' ,
62- 'no-debugger' : 'error' ,
63- 'no-empty' : 'off' ,
64- 'no-eval' : 'error' ,
65- 'no-fallthrough' : 'error' ,
66- 'no-new-wrappers' : 'error' ,
67- 'no-redeclare' : 'error' ,
68- 'no-shadow' : [
69- 'error' ,
70- {
71- hoist : 'all' ,
72- } ,
73- ] ,
74- 'no-trailing-spaces' : 'error' ,
75- 'no-underscore-dangle' : 'error' ,
76- 'no-unused-labels' : 'error' ,
77- 'no-var' : 'error' ,
78- 'prefer-const' : [
79- 'error' ,
80- {
81- destructuring : 'all' ,
82- } ,
83- ] ,
84- radix : 'error' ,
85- 'spaced-comment' : [
86- 'error' ,
87- 'always' ,
88- {
89- markers : [ '/' ] ,
90- } ,
91- ] ,
92- } ,
17+ plugins : [ '@typescript-eslint' ] ,
18+ extends : [ 'eslint:recommended' , 'plugin:@typescript-eslint/recommended' , 'prettier' , 'prettier/@typescript-eslint' ] ,
19+ rules : { } ,
9320} ;
0 commit comments