diff --git a/.eslintrc.js b/.eslintrc.js index 273b854cfa9bb3d615a93af2ebe6d1396c5854b4..c3bbd9fc7eec2295d47aaadeee27d970c72dd3a7 100755 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,7 +15,7 @@ module.exports = { 'react/prop-types': 0, 'react/forbid-prop-types': 0, 'react/jsx-one-expression-per-line': 0, - 'import/no-unresolved': [2, { ignore: ['^@', '^umi/'] }], + 'import/no-unresolved': [2, { ignore: ['^@/', '^umi/'] }], 'import/no-extraneous-dependencies': [2, { optionalDependencies: true }], 'jsx-a11y/no-noninteractive-element-interactions': 0, 'jsx-a11y/click-events-have-key-events': 0,