Skip to content

Commit b385bee

Browse files
committedApr 6, 2021
Disable import/export rule for TypeScript files
1 parent c886ce5 commit b385bee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎lib/options-manager.js

+3
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ const buildXOConfig = options => config => {
318318
if (options.ts) {
319319
config.rules['unicorn/import-style'] = 'off';
320320
config.rules['node/file-extension-in-import'] = 'off';
321+
322+
// Disabled because of https://github.com/benmosher/eslint-plugin-import/issues/1590
323+
config.rules['import/export'] = 'off';
321324
}
322325

323326
if (options.rules) {

0 commit comments

Comments
 (0)
Please sign in to comment.