Skip to content

Commit 77716e2

Browse files
committedOct 18, 2020
Disable the unicorn/import-style rule for TypeScript projects
1 parent 4c9909a commit 77716e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

Diff for: ‎lib/options-manager.js

+4
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ const buildXOConfig = options => config => {
315315
];
316316
}
317317

318+
if (options.ts) {
319+
config.rules['unicorn/import-style'] = 'off';
320+
}
321+
318322
if (options.rules) {
319323
Object.assign(config.rules, options.rules);
320324
}

0 commit comments

Comments
 (0)
Please sign in to comment.