Skip to content

Commit ce72656

Browse files
authored
chore: update dependencies
1 parent 3da1345 commit ce72656

7 files changed

Lines changed: 734 additions & 910 deletions

File tree

eslint.config.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import eslint from '@eslint/js';
22
import tseslint from 'typescript-eslint';
3+
import { defineConfig } from 'eslint/config';
34
import stylistic from '@stylistic/eslint-plugin';
45

5-
export default tseslint.config({
6+
export default defineConfig({
67
extends: [
78
eslint.configs.recommended,
89
...tseslint.configs.strictTypeChecked,
@@ -43,16 +44,21 @@ export default tseslint.config({
4344
'@typescript-eslint/prefer-promise-reject-errors': 'off',
4445
'@typescript-eslint/no-extraneous-class': 'off',
4546
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
47+
'@typescript-eslint/prefer-nullish-coalescing': ['error', {
48+
ignorePrimitives: {
49+
boolean: true,
50+
string: true
51+
}
52+
}],
4653
'@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }],
4754
'@typescript-eslint/no-unnecessary-type-parameters': 'off',
48-
'@typescript-eslint/prefer-nullish-coalescing': 'off',
55+
'@typescript-eslint/no-floating-promises': 'error',
4956

5057
'@stylistic/arrow-parens': ['warn', 'as-needed'],
5158
'@stylistic/quote-props': ['warn', 'as-needed'],
5259
'@stylistic/brace-style': ['error', '1tbs'],
5360
'@stylistic/comma-dangle': 'off',
5461
'@stylistic/indent-binary-ops': 'off',
55-
'@stylistic/space-before-function-paren': 'off',
5662
'@stylistic/type-annotation-spacing': [
5763
'warn',
5864
{
@@ -65,4 +71,4 @@ export default tseslint.config({
6571
],
6672
'@stylistic/array-bracket-spacing': 'off'
6773
}
68-
});
74+
});

0 commit comments

Comments
 (0)