Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
fix: disable unnecessary module resolution check for TypeScript files (
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Apr 10, 2020
1 parent c1a6f84 commit f9765f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ module.exports = {
// https://github.com/iamturns/eslint-config-airbnb-typescript/issues/50
// This will be caught by TypeScript compiler if `strictNullChecks` (or `strict`) is enabled
'no-undef': 'off',

/* Using TypeScript makes it safe enough to disable the checks below */

// Disable ESLint-based module resolution check for improved monorepo support
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md
'import/no-unresolved': 'off',
},
},
],
Expand Down

0 comments on commit f9765f3

Please sign in to comment.