mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
disable '@typescript-eslint/prefer-nullish-coalescing' for primitive types
This commit is contained in:
@@ -37,6 +37,10 @@ export default [
|
||||
'no-restricted-imports': ['error', {
|
||||
paths: [{ name: 'punycode' }],
|
||||
}],
|
||||
// https://typescript-eslint.io/rules/prefer-nullish-coalescing/
|
||||
'@typescript-eslint/prefer-nullish-coalescing': ['warn', {
|
||||
ignorePrimitives: true,
|
||||
}],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user