Skip to content

Commit

Permalink
Disable import/export rule for TypeScript files
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 6, 2021
1 parent c886ce5 commit b385bee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/options-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ const buildXOConfig = options => config => {
if (options.ts) {
config.rules['unicorn/import-style'] = 'off';
config.rules['node/file-extension-in-import'] = 'off';

// Disabled because of https://github.com/benmosher/eslint-plugin-import/issues/1590
config.rules['import/export'] = 'off';
}

if (options.rules) {
Expand Down

0 comments on commit b385bee

Please sign in to comment.