diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-13 09:12:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 15:12:31 +0100 |
commit | eddfb33dfea6a17e71377d95498b557dd0194477 (patch) | |
tree | 9b352e947212887a170832d8ee878d4208acdd31 /.eslintrc.js | |
parent | db2c58d47ae0db8490a30cd3846f30e615c382b5 (diff) |
Enable ESLint import recommended rules (#23315)
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index ef52818b0..4d81aa47e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,6 +5,7 @@ module.exports = { 'eslint:recommended', 'plugin:react/recommended', 'plugin:jsx-a11y/recommended', + 'plugin:import/recommended', ], env: { @@ -177,6 +178,7 @@ module.exports = { }, ], + // See https://github.com/import-js/eslint-plugin-import/blob/main/config/recommended.js 'import/extensions': [ 'error', 'always', @@ -195,7 +197,6 @@ module.exports = { ], }, ], - 'import/no-unresolved': 'error', 'import/no-webpack-loader-syntax': 'error', 'promise/catch-or-return': [ |