Umi: eslintrc文件修改无效

Created on 17 Aug 2019  ·  6Comments  ·  Source: umijs/umi

What happens?

修改eslintrc文件如下, 重启项目多次依然无效

{
  "extends": "eslint-config-umi",
  "rules": {
    "no-unused-vars": 0,
    "eqeqeq": "off",
  }
}

相关环境信息

  • Umi 版本:2.8.17
  • Node 版本:v10.16.0
  • 操作系统:win10
wontfix

Most helpful comment

修改eslintrc配置文件无效

All 6 comments

问题是啥?在哪里无效?

问题是啥?在哪里无效?

关闭某些规则以后,控制台依然会提示报错

同问

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

修改eslintrc配置文件无效

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings