From b9d2ec9572f904e51e6a948207800b6894207bdb Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 29 Aug 2018 19:13:03 +0800 Subject: [PATCH] fix eslintrc --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 273b854c..c3bbd9fc 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, -- GitLab