Skip to content

Commit

Permalink
Disable the node/file-extension-in-import rule for TypeScript proje…
Browse files Browse the repository at this point in the history
…cts (#523)

Fixes #522
  • Loading branch information
jonahsnider committed Feb 28, 2021
1 parent ecd05bc commit 1eb8230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/options-manager.js
Expand Up @@ -317,6 +317,7 @@ const buildXOConfig = options => config => {

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

if (options.rules) {
Expand Down

0 comments on commit 1eb8230

Please sign in to comment.