1 Star 0 Fork 10

开源项目 / actionview-fe

forked from xView / actionview-fe 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
xview 提交于 2016-05-27 11:48 . field screen.
{
"parser": "babel-eslint",
"plugins": ["react"],
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"react/display-name": [2, { "acceptTranspilerName": true }],
"react/jsx-curly-spacing": [2, "always"],
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-unknown-property": 2,
"react/prop-types": 2,
"react/react-in-jsx-scope": 2,
"react/no-multi-comp": 0,
"react/require-extension": 2,
"react/self-closing-comp": 2,
"react/wrap-multilines": 2,
"react/sort-comp": 0,
"react/jsx-closing-bracket-location": [2, { "selfClosing" : "after-props", "nonEmpty": "after-props" }],
"react/jsx-indent-props": [2, 2],
"react/prefer-es6-class": 2,
"jsx-quotes": [2, "prefer-single"],
"quotes": [2, "single", "avoid-escape"],
"comma-dangle": [2, "never"],
"indent": [2, 2, { "SwitchCase": 1 }],
"object-curly-spacing": [2, "always"],
"no-undef": 2,
"no-underscore-dangle": 0,
"func-names": 0,
"no-else-return": 0
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/open-source-project_2/actionview-fe.git
git@gitee.com:open-source-project_2/actionview-fe.git
open-source-project_2
actionview-fe
actionview-fe
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891