diff --git a/.eslintrc.js b/.eslintrc.js index 3e9f3d638..92de54eff 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,9 +1,6 @@ -const base = require('@umijs/fabric/dist/eslint'); - module.exports = { - ...base, + extends: [require.resolve('@umijs/fabric/dist/eslint')], rules: { - ...base.rules, 'arrow-parens': 0, 'no-template-curly-in-string': 0, 'prefer-promise-reject-errors': 0,