Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 11185a9

Browse files
authored
fix: disable additional rules handled by TypeScript compiler (#283)
Rules disabled: `no-import-assign`, `no-setter-return`, `import/no-named-as-default-member` While this could be seen as a breaking change, in reality the TypeScript code would not compile. The code must adhere to these rules already. So the impact of this change is simply reducing unnecessary noise within linting errors (and leaving it to the TypeScript compiler, which is better suited).
1 parent 221be43 commit 11185a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/shared.js

+3
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,18 @@ module.exports = {
264264
'no-dupe-class-members': 'off',
265265
'no-dupe-keys': 'off',
266266
'no-func-assign': 'off',
267+
'no-import-assign': 'off',
267268
'no-new-symbol': 'off',
268269
'no-obj-calls': 'off',
269270
'no-redeclare': 'off',
271+
'no-setter-return': 'off',
270272
'no-this-before-super': 'off',
271273
'no-undef': 'off',
272274
'no-unreachable': 'off',
273275
'no-unsafe-negation': 'off',
274276
'valid-typeof': 'off',
275277
'import/named': 'off',
278+
'import/no-named-as-default-member': 'off',
276279
'import/no-unresolved': 'off',
277280
},
278281
},

0 commit comments

Comments
 (0)