File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8
8
## Unreleased
9
9
10
10
### Changed
11
+ - Re-enabled ` @typescript-eslint/no-floating-promises ` rule
11
12
- Disabled ` @typescript-eslint/require-await ` , which caused some builds to fail inconsistently and doesn't seem particularly valuable
12
13
13
14
## 2.3.1 - 2023-05-21
Original file line number Diff line number Diff line change @@ -70,13 +70,18 @@ export const base: Linter.Config = {
70
70
'@typescript-eslint/switch-exhaustiveness-check' : 'error' ,
71
71
'@typescript-eslint/type-annotation-spacing' : 'error' ,
72
72
'@typescript-eslint/unified-signatures' : 'error' ,
73
+ '@typescript-eslint/no-floating-promises' : [
74
+ 'error' ,
75
+ {
76
+ ignoreVoid : false
77
+ }
78
+ ] ,
73
79
74
80
// TODO: Enable once we no longer support IE 11
75
81
'@typescript-eslint/prefer-includes' : 'off' ,
76
82
'@typescript-eslint/prefer-string-starts-ends-with' : 'off' ,
77
83
78
84
// TODO: Investigate if these rules should be enabled
79
- '@typescript-eslint/no-floating-promises' : 'off' ,
80
85
'@typescript-eslint/no-explicit-any' : 'off' ,
81
86
'@typescript-eslint/no-unnecessary-boolean-literal-compare' : 'off' , // Needs StrictNullChecks
82
87
'@typescript-eslint/no-unnecessary-type-assertion' : 'off' , // to be investigated, produces different results on a uncompiled environment
@@ -183,4 +188,4 @@ export const standard: Linter.Config = {
183
188
'@tinymce/prefer-mcagar-tiny-assertions' : 'off' ,
184
189
'@tinymce/prefer-mcagar-tiny-dom' : 'off' ,
185
190
}
186
- } ;
191
+ } ;
You can’t perform that action at this time.
0 commit comments