There was an error while loading. Please reload this page.
1 parent 9618351 commit a98e99fCopy full SHA for a98e99f
1 file changed
configs/ts.js
@@ -51,6 +51,12 @@ export default defineConfig([
51
allowNever: false,
52
},
53
],
54
+ '@typescript-eslint/prefer-nullish-coalescing': [
55
+ 'error',
56
+ {
57
+ ignorePrimitives: { boolean: true },
58
+ },
59
+ ],
60
'@typescript-eslint/member-delimiter-style': 'off',
61
'@typescript-eslint/explicit-function-return-type': 'off',
62
'@typescript-eslint/no-deprecated': 'warn',
0 commit comments