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.
88## Unreleased
99
1010### Changed
11+ - Re-enabled ` @typescript-eslint/no-floating-promises ` rule
1112- Disabled ` @typescript-eslint/require-await ` , which caused some builds to fail inconsistently and doesn't seem particularly valuable
1213
1314## 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 = {
7070 '@typescript-eslint/switch-exhaustiveness-check' : 'error' ,
7171 '@typescript-eslint/type-annotation-spacing' : 'error' ,
7272 '@typescript-eslint/unified-signatures' : 'error' ,
73+ '@typescript-eslint/no-floating-promises' : [
74+ 'error' ,
75+ {
76+ ignoreVoid : false
77+ }
78+ ] ,
7379
7480 // TODO: Enable once we no longer support IE 11
7581 '@typescript-eslint/prefer-includes' : 'off' ,
7682 '@typescript-eslint/prefer-string-starts-ends-with' : 'off' ,
7783
7884 // TODO: Investigate if these rules should be enabled
79- '@typescript-eslint/no-floating-promises' : 'off' ,
8085 '@typescript-eslint/no-explicit-any' : 'off' ,
8186 '@typescript-eslint/no-unnecessary-boolean-literal-compare' : 'off' , // Needs StrictNullChecks
8287 '@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 = {
183188 '@tinymce/prefer-mcagar-tiny-assertions' : 'off' ,
184189 '@tinymce/prefer-mcagar-tiny-dom' : 'off' ,
185190 }
186- } ;
191+ } ;
You can’t perform that action at this time.
0 commit comments