1 Star 0 Fork 0

leopen / react-lib-boilerplate

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 673 Bytes
一键复制 编辑 原始数据 按行查看 历史
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"@typescript-eslint/explicit-module-boundary-types": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/leopen/react-lib-boilerplate.git
git@gitee.com:leopen/react-lib-boilerplate.git
leopen
react-lib-boilerplate
react-lib-boilerplate
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891