xtrh.net
当前位置:首页 >> EslintignorE 配置 >>

EslintignorE 配置

1、在项目根目录新建 (.eslintrc)文件,注意有个小点,将下面的代码复制进去 { "extends": [ "eslint:recommended", "plugin:import/errors", "plugin:import/warnings" ], "plugins": [ "react" ], "parserOptions": { "ecmaVersion": 6, "so...

网站首页 | 网站地图
All rights reserved Powered by www.xtrh.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com