@@ -15,21 +15,21 @@ module.exports = {
15
15
rules : {
16
16
// Default ESlint rules to TypeScript-ESlint
17
17
'brace-style' : 0 ,
18
- '@typescript-eslint /brace-style' : 2 ,
18
+ '@stylistic /brace-style' : 2 ,
19
19
'comma-dangle' : 0 ,
20
- '@typescript-eslint /comma-dangle' : 2 ,
20
+ '@stylistic /comma-dangle' : 2 ,
21
21
'dot-notation' : 0 ,
22
22
'@typescript-eslint/dot-notation' : 2 ,
23
23
'keyword-spacing' : 0 ,
24
- '@typescript-eslint /keyword-spacing' : 2 ,
24
+ '@stylistic /keyword-spacing' : 2 ,
25
25
'no-array-constructor' : 0 ,
26
26
'@typescript-eslint/no-array-constructor' : 2 ,
27
27
'no-dupe-class-members' : 0 ,
28
28
'@typescript-eslint/no-dupe-class-members' : 2 ,
29
29
'no-empty-function' : 0 ,
30
30
'@typescript-eslint/no-empty-function' : 2 ,
31
31
'no-extra-semi' : 0 ,
32
- '@typescript-eslint /no-extra-semi' : 2 ,
32
+ '@stylistic /no-extra-semi' : 2 ,
33
33
'no-implied-eval' : 0 ,
34
34
'@typescript-eslint/no-implied-eval' : 2 ,
35
35
'no-invalid-this' : 0 ,
@@ -41,8 +41,8 @@ module.exports = {
41
41
'no-shadow' : 0 ,
42
42
'@typescript-eslint/no-shadow' : 2 ,
43
43
'no-throw-literal' : 0 ,
44
- '@typescript-eslint/no -throw-literal ' : 2 ,
45
- 'no-unused-expressions' : 'off' ,
44
+ '@typescript-eslint/only -throw-error ' : 2 ,
45
+ 'no-unused-expressions' : 0 ,
46
46
'@typescript-eslint/no-unused-expressions' : [
47
47
'error' ,
48
48
{
@@ -57,35 +57,35 @@ module.exports = {
57
57
'no-useless-constructor' : 0 ,
58
58
'@typescript-eslint/no-useless-constructor' : 2 ,
59
59
'object-curly-spacing' : 0 ,
60
- '@typescript-eslint /object-curly-spacing' : [ 'error' , 'always' ] ,
60
+ '@stylistic /object-curly-spacing' : [ 'error' , 'always' ] ,
61
61
'padding-line-between-statements' : 0 ,
62
- '@typescript-eslint /padding-line-between-statements' : [
62
+ '@stylistic /padding-line-between-statements' : [
63
63
'error' ,
64
64
{ blankLine : 'always' , prev : [ 'const' , 'let' , 'var' ] , next : '*' } ,
65
65
{ blankLine : 'any' , prev : [ 'const' , 'let' , 'var' ] , next : [ 'const' , 'let' , 'var' ] } ,
66
66
{ blankLine : 'always' , prev : '*' , next : 'return' }
67
67
] ,
68
68
'quotes' : 0 ,
69
- '@typescript-eslint /quotes' : [ 'error' , 'single' ] ,
69
+ '@stylistic /quotes' : [ 'error' , 'single' ] ,
70
70
'semi' : 0 ,
71
- '@typescript-eslint /semi' : [ 'error' , 'always' ] ,
71
+ '@stylistic /semi' : [ 'error' , 'always' ] ,
72
72
'space-before-blocks' : 0 ,
73
- '@typescript-eslint /space-before-blocks' : 2 ,
73
+ '@stylistic /space-before-blocks' : 2 ,
74
74
'space-before-function-paren' : 0 ,
75
- '@typescript-eslint /space-before-function-paren' : [ 'error' , {
75
+ '@stylistic /space-before-function-paren' : [ 'error' , {
76
76
'anonymous' : 'never' ,
77
77
'named' : 'never' ,
78
78
'asyncArrow' : 'always'
79
79
} ] ,
80
80
'space-infix-ops' : 0 ,
81
- '@typescript-eslint /space-infix-ops' : 2 ,
81
+ '@stylistic /space-infix-ops' : 2 ,
82
82
'no-undef' : 0 ,
83
83
'no-prototype-builtins' : 0 ,
84
84
85
85
// Typescript-ESlint Rules
86
86
'@typescript-eslint/ban-ts-comment' : 0 ,
87
87
'@typescript-eslint/ban-types' : 0 ,
88
- '@typescript-eslint /member-delimiter-style' : [ 'error' , {
88
+ '@stylistic /member-delimiter-style' : [ 'error' , {
89
89
multiline : {
90
90
delimiter : 'semi' ,
91
91
requireLast : true
@@ -103,7 +103,7 @@ module.exports = {
103
103
'@typescript-eslint/prefer-as-const' : 1 ,
104
104
'@typescript-eslint/prefer-enum-initializers' : 1 ,
105
105
'@typescript-eslint/prefer-optional-chain' : 1 ,
106
- '@typescript-eslint /type-annotation-spacing' : [ 'error' , {
106
+ '@stylistic /type-annotation-spacing' : [ 'error' , {
107
107
before : true ,
108
108
after : true ,
109
109
overrides : {
0 commit comments