We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
config
1 parent 2c4e13c commit 8292797Copy full SHA for 8292797
eslint.config.js
@@ -1,8 +1,9 @@
1
import eslint from '@eslint/js';
2
import tseslint from 'typescript-eslint';
3
+import { defineConfig } from 'eslint/config';
4
import stylistic from '@stylistic/eslint-plugin';
5
-export default tseslint.config({
6
+export default defineConfig({
7
extends: [
8
eslint.configs.recommended,
9
...tseslint.configs.strictTypeChecked,
@@ -51,6 +52,7 @@ export default tseslint.config({
51
52
}],
53
'@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }],
54
'@typescript-eslint/no-unnecessary-type-parameters': 'off',
55
+ '@typescript-eslint/no-floating-promises': 'error',
56
57
'@stylistic/arrow-parens': ['warn', 'as-needed'],
58
'@stylistic/quote-props': ['warn', 'as-needed'],
0 commit comments