Skip to content

Commit 1eb8230

Browse files
authoredFeb 28, 2021
Disable the node/file-extension-in-import rule for TypeScript projects (#523)
Fixes #522
1 parent ecd05bc commit 1eb8230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎lib/options-manager.js

+1
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ const buildXOConfig = options => config => {
317317

318318
if (options.ts) {
319319
config.rules['unicorn/import-style'] = 'off';
320+
config.rules['node/file-extension-in-import'] = 'off';
320321
}
321322

322323
if (options.rules) {

0 commit comments

Comments
 (0)
Please sign in to comment.