Skip to content

Commit

Permalink
feat: isable import/no-unresolved rule due an incompatibility with …
Browse files Browse the repository at this point in the history
…package.json exports

See: import-js/eslint-plugin-import#2703
  • Loading branch information
MarioMH8 committed Feb 10, 2023
1 parent d731868 commit bf1dfa8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mighty-sloths-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hexatool/eslint-config": patch
---

update dependency prettier to v2.8.4
5 changes: 5 additions & 0 deletions .changeset/tame-peas-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hexatool/eslint-config": patch
---

Disable `import/no-unresolved` rule due an incompatibility with package.json exports
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ module.exports = {
'import/first': 'error',
'import/newline-after-import': 'error',
'import/no-duplicates': 'error',
'import/no-unresolved': 'error',
// Disabled due an incompatibility with package.json exports. See: https://github.com/import-js/eslint-plugin-import/issues/2703
'import/no-unresolved': 'off',
'import/no-webpack-loader-syntax': 'error',
'prettier/prettier': [
'error',
Expand Down

0 comments on commit bf1dfa8

Please sign in to comment.