Skip to content

Commit 073297e

Browse files
committed
Disable some problematic rules
1 parent 83d3a1d commit 073297e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

index.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,13 @@ module.exports = {
337337
'@typescript-eslint/no-unnecessary-qualifier': 'error',
338338
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
339339
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
340-
'@typescript-eslint/no-unsafe-assignment': 'error',
341-
'@typescript-eslint/no-unsafe-call': 'error',
342-
'@typescript-eslint/no-unsafe-member-access': 'error',
343-
'@typescript-eslint/no-unsafe-return': 'error',
340+
341+
// TODO: Enable these again when we can use ESM natively in Node.js. These rules cause problems with syntax like `import x = require('x');`
342+
// '@typescript-eslint/no-unsafe-assignment': 'error',
343+
// '@typescript-eslint/no-unsafe-call': 'error',
344+
// '@typescript-eslint/no-unsafe-member-access': 'error',
345+
// '@typescript-eslint/no-unsafe-return': 'error',
346+
344347
'no-unused-expressions': 'off',
345348
'@typescript-eslint/no-unused-expressions': 'error',
346349
'no-unused-vars': 'off',

0 commit comments

Comments
 (0)