Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b385bee

Browse filesBrowse files
committed
Disable import/export rule for TypeScript files
1 parent c886ce5 commit b385bee
Copy full SHA for b385bee

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎lib/options-manager.js‎

Copy file name to clipboardExpand all lines: lib/options-manager.js
+3Lines changed: 3 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.