File tree Expand file tree Collapse file tree 12 files changed +17
-17
lines changed Expand file tree Collapse file tree 12 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ module.exports = {
23
23
"@typescript-eslint/generic-type-naming" : 0 ,
24
24
"@typescript-eslint/indent" : 0 ,
25
25
"@typescript-eslint/member-ordering" : 0 ,
26
+ "@typescript-eslint/no-empty-function" : 0 ,
26
27
"@typescript-eslint/no-explicit-any" : 0 ,
27
28
"@typescript-eslint/no-extra-parens" : 0 ,
28
29
"@typescript-eslint/no-magic-numbers" : 0 ,
@@ -47,7 +48,6 @@ module.exports = {
47
48
"import/prefer-default-export" : 0 ,
48
49
"no-console" : 0 ,
49
50
"no-continue" : 0 ,
50
- "no-empty-function" : 0 ,
51
51
"no-restricted-syntax" : 0 ,
52
52
"no-param-reassign" : 0 ,
53
53
"no-return-await" : 0 ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const convertNoEmptyRule = (tslintRule: RuleConverterOptions) => {
25
25
const convertNoEmptyFunctionRule = ( tslintRule : RuleConverterOptions ) => {
26
26
return ! tslintRule . ruleArguments . includes ( "allow-empty-functions" )
27
27
? {
28
- ruleName : "no-empty-functions " ,
28
+ ruleName : "@typescript-eslint/ no-empty-function " ,
29
29
}
30
30
: undefined ;
31
31
} ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ describe(convertNoEmpty, () => {
12
12
ruleName : "no-empty" ,
13
13
} ,
14
14
{
15
- ruleName : "no-empty-functions " ,
15
+ ruleName : "@typescript-eslint/ no-empty-function " ,
16
16
} ,
17
17
] ,
18
18
} ) ;
@@ -30,7 +30,7 @@ describe(convertNoEmpty, () => {
30
30
ruleName : "no-empty" ,
31
31
} ,
32
32
{
33
- ruleName : "no-empty-functions " ,
33
+ ruleName : "@typescript-eslint/ no-empty-function " ,
34
34
} ,
35
35
] ,
36
36
} ) ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ module.exports = {
9
9
"@typescript-eslint/array-type" : "error" ,
10
10
"@typescript-eslint/interface-name-prefix" : "error" ,
11
11
"@typescript-eslint/member-ordering" : "off" ,
12
+ "@typescript-eslint/no-empty-function" : "off" ,
12
13
"@typescript-eslint/no-explicit-any" : "off" ,
13
14
"@typescript-eslint/no-param-reassign" : "off" ,
14
15
"@typescript-eslint/no-parameter-properties" : "off" ,
@@ -20,7 +21,6 @@ module.exports = {
20
21
"linebreak-style" : "off" ,
21
22
"no-bitwise" : "off" ,
22
23
"no-empty" : "off" ,
23
- "no-empty-functions" : "off" ,
24
24
"no-magic-numbers" : "off" ,
25
25
"padding-line-between-statements" : [
26
26
"off" ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ module.exports = {
9
9
"@typescript-eslint/array-type" : " error" ,
10
10
"@typescript-eslint/interface-name-prefix" : " error" ,
11
11
"@typescript-eslint/member-ordering" : " off" ,
12
+ "@typescript-eslint/no-empty-function" : " off" ,
12
13
"@typescript-eslint/no-explicit-any" : " off" ,
13
14
"@typescript-eslint/no-param-reassign" : " off" ,
14
15
"@typescript-eslint/no-parameter-properties" : " off" ,
@@ -20,7 +21,6 @@ module.exports = {
20
21
"linebreak-style" : " off" ,
21
22
"no-bitwise" : " off" ,
22
23
"no-empty" : " off" ,
23
- "no-empty-functions" : " off" ,
24
24
"no-magic-numbers" : " off" ,
25
25
"padding-line-between-statements" : [
26
26
" off" ,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ module.exports = {
17
17
"@typescript-eslint/array-type" : "error" ,
18
18
"@typescript-eslint/interface-name-prefix" : "error" ,
19
19
"@typescript-eslint/member-ordering" : "off" ,
20
+ "@typescript-eslint/no-empty-function" : "off" ,
20
21
"@typescript-eslint/no-explicit-any" : "off" ,
21
22
"@typescript-eslint/no-param-reassign" : "off" ,
22
23
"@typescript-eslint/no-parameter-properties" : "off" ,
@@ -28,7 +29,6 @@ module.exports = {
28
29
"linebreak-style" : "off" ,
29
30
"no-bitwise" : "off" ,
30
31
"no-empty" : "off" ,
31
- "no-empty-functions" : "off" ,
32
32
"no-magic-numbers" : "off" ,
33
33
"padding-line-between-statements" : [
34
34
"off" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ module.exports = {
16
16
"@typescript-eslint/array-type" : "error" ,
17
17
"@typescript-eslint/interface-name-prefix" : "error" ,
18
18
"@typescript-eslint/member-ordering" : "off" ,
19
+ "@typescript-eslint/no-empty-function" : "off" ,
19
20
"@typescript-eslint/no-explicit-any" : "off" ,
20
21
"@typescript-eslint/no-param-reassign" : "off" ,
21
22
"@typescript-eslint/no-parameter-properties" : "off" ,
@@ -27,7 +28,6 @@ module.exports = {
27
28
"linebreak-style" : "off" ,
28
29
"no-bitwise" : "off" ,
29
30
"no-empty" : "off" ,
30
- "no-empty-functions" : "off" ,
31
31
"no-magic-numbers" : "off" ,
32
32
"padding-line-between-statements" : [
33
33
"off" ,
Original file line number Diff line number Diff line change 16
16
"@typescript-eslint/array-type" : " error" ,
17
17
"@typescript-eslint/interface-name-prefix" : " error" ,
18
18
"@typescript-eslint/member-ordering" : " off" ,
19
+ "@typescript-eslint/no-empty-function" : " off" ,
19
20
"@typescript-eslint/no-explicit-any" : " off" ,
20
21
"@typescript-eslint/no-param-reassign" : " off" ,
21
22
"@typescript-eslint/no-parameter-properties" : " off" ,
27
28
"linebreak-style" : " off" ,
28
29
"no-bitwise" : " off" ,
29
30
"no-empty" : " off" ,
30
- "no-empty-functions" : " off" ,
31
31
"no-magic-numbers" : " off" ,
32
32
"prefer-template" : " off" ,
33
33
"@typescript-eslint/tslint/config" : [
47
47
}
48
48
]
49
49
}
50
- }
50
+ }
Original file line number Diff line number Diff line change 16
16
"@typescript-eslint/array-type" : " error" ,
17
17
"@typescript-eslint/interface-name-prefix" : " error" ,
18
18
"@typescript-eslint/member-ordering" : " off" ,
19
+ "@typescript-eslint/no-empty-function" : " off" ,
19
20
"@typescript-eslint/no-explicit-any" : " off" ,
20
21
"@typescript-eslint/no-param-reassign" : " off" ,
21
22
"@typescript-eslint/no-parameter-properties" : " off" ,
27
28
"linebreak-style" : " off" ,
28
29
"no-bitwise" : " off" ,
29
30
"no-empty" : " off" ,
30
- "no-empty-functions" : " off" ,
31
31
"no-magic-numbers" : " off" ,
32
32
"prefer-template" : " off" ,
33
33
"@typescript-eslint/tslint/config" : [
47
47
}
48
48
]
49
49
}
50
- }
50
+ }
Original file line number Diff line number Diff line change 16
16
"@typescript-eslint/array-type" : " error" ,
17
17
"@typescript-eslint/interface-name-prefix" : " error" ,
18
18
"@typescript-eslint/member-ordering" : " off" ,
19
+ "@typescript-eslint/no-empty-function" : " off" ,
19
20
"@typescript-eslint/no-explicit-any" : " off" ,
20
21
"@typescript-eslint/no-param-reassign" : " off" ,
21
22
"@typescript-eslint/no-parameter-properties" : " off" ,
27
28
"linebreak-style" : " off" ,
28
29
"no-bitwise" : " off" ,
29
30
"no-empty" : " off" ,
30
- "no-empty-functions" : " off" ,
31
31
"no-magic-numbers" : " off" ,
32
32
"prefer-template" : " off" ,
33
33
"@typescript-eslint/tslint/config" : [
47
47
}
48
48
]
49
49
}
50
- }
50
+ }
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ module.exports = {
17
17
"@typescript-eslint/array-type" : "error" ,
18
18
"@typescript-eslint/interface-name-prefix" : "error" ,
19
19
"@typescript-eslint/member-ordering" : "off" ,
20
+ "@typescript-eslint/no-empty-function" : "off" ,
20
21
"@typescript-eslint/no-explicit-any" : "off" ,
21
22
"@typescript-eslint/no-param-reassign" : "off" ,
22
23
"@typescript-eslint/no-parameter-properties" : "off" ,
@@ -28,7 +29,6 @@ module.exports = {
28
29
"linebreak-style" : "off" ,
29
30
"no-bitwise" : "off" ,
30
31
"no-empty" : "off" ,
31
- "no-empty-functions" : "off" ,
32
32
"no-magic-numbers" : "off" ,
33
33
"padding-line-between-statements" : [
34
34
"off" ,
Original file line number Diff line number Diff line change 16
16
"@typescript-eslint/array-type" : " error" ,
17
17
"@typescript-eslint/interface-name-prefix" : " error" ,
18
18
"@typescript-eslint/member-ordering" : " off" ,
19
+ "@typescript-eslint/no-empty-function" : " off" ,
19
20
"@typescript-eslint/no-explicit-any" : " off" ,
20
21
"@typescript-eslint/no-param-reassign" : " off" ,
21
22
"@typescript-eslint/no-parameter-properties" : " off" ,
27
28
"linebreak-style" : " off" ,
28
29
"no-bitwise" : " off" ,
29
30
"no-empty" : " off" ,
30
- "no-empty-functions" : " off" ,
31
31
"no-magic-numbers" : " off" ,
32
32
"prefer-template" : " off" ,
33
33
"@typescript-eslint/tslint/config" : [
47
47
}
48
48
]
49
49
}
50
- }
50
+ }
You can’t perform that action at this time.
0 commit comments