1 Star 0 Fork 319

MIR/ShadowEditor

forked from 超腾开源/ShadowEditor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
超腾开源 提交于 2019-10-27 10:38 . 修改配置。
{
/* See all the pre-defined configs here: https://www.npmjs.com/package/eslint-config-defaults */
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true
},
"plugins": [
"react"
],
"env": {
"amd": true,
"browser": true,
"jquery": true,
"node": true,
"es6": true,
"worker": true
},
"rules": {
"eqeqeq": 2,
"comma-dangle": 1,
"no-console": 0,
"no-debugger": 0,
"no-extra-semi": 1,
"no-extra-parens": 1,
"no-irregular-whitespace": 1,
"no-undef": 0,
"no-unused-vars": 1,
"semi": 1,
"semi-spacing": 1,
"valid-jsdoc": [
2,
{
"requireReturn": false
}
],
"react/display-name": 2,
"react/forbid-prop-types": 0,
"react/jsx-boolean-value": 1,
"react/jsx-closing-bracket-location": 1,
"react/jsx-curly-spacing": 1,
"react/jsx-indent-props": 1,
"react/jsx-max-props-per-line": 1,
"react/jsx-no-duplicate-props": 1,
"react/jsx-no-literals": 0,
"react/jsx-no-undef": 1,
"react/jsx-sort-prop-types": 0,
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-danger": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": 1,
"react/no-multi-comp": 1,
"react/no-set-state": 0,
"react/no-unknown-property": 1,
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"react/require-extension": 0,
"react/self-closing-comp": 1,
"react/sort-comp": 0,
"react/wrap-multilines": 0
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/huboy2004/ShadowEditor.git
[email protected]:huboy2004/ShadowEditor.git
huboy2004
ShadowEditor
ShadowEditor
master

搜索帮助