1 Star 0 Fork 6

秋辞/react-native-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
郭方超 提交于 2018-03-21 17:41 . eslint
{
"env": {
"node": true,
"es6": true
},
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react"],
"globals": {
"fetch": false,
"__DEV__": false,
"WebSocket":false,
"FormData":false
},
"rules": {
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"no-extra-semi": ["error"],
"no-unused-vars": 0,
"react/display-name": 0,
"react/prop-types":0,
"react/no-string-refs":0,
"keyword-spacing": "error",
"no-spaced-func": "error",
"space-in-parens": "error",
"no-console": ["error", {
"allow": ["log"]
}],
"curly": [2, "multi-line"],
"array-bracket-spacing": 2,
"block-spacing": 2,
"brace-style": 2,
"comma-spacing": 2,
"space-infix-ops": 2,
"arrow-spacing": 2,
"constructor-super": 2,
"no-var": 2,
"no-extra-parens":"error"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ssr-22/react-native-demo.git
git@gitee.com:ssr-22/react-native-demo.git
ssr-22
react-native-demo
react-native-demo
master

搜索帮助