File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff 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' ,
You can’t perform that action at this time.
0 commit comments