1 Star 0 Fork 248

低调/xuanxuan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
Catouse 提交于 2017-02-03 13:58 . + 🔥first blood.
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"rules": {
"arrow-parens": ["off"],
"compat/compat": 2,
"consistent-return": "off",
"comma-dangle": "off",
"generator-star-spacing": "off",
"import/no-unresolved": ["error", { "ignore": ["electron"] }],
"import/no-extraneous-dependencies": "off",
"no-use-before-define": "off",
"promise/param-names": 2,
"promise/always-return": 2,
"promise/catch-or-return": 2,
"promise/no-native": 0,
"react/jsx-no-bind": "off",
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"react/prefer-stateless-function": "off",
"flowtype-errors/show-errors": 2
},
"plugins": [
"flowtype",
"flowtype-errors",
"import",
"promise",
"compat",
"react"
],
"settings": {
"targets": ["chrome"],
"import/resolver": {
"webpack": {
"config": "webpack.config.eslint.js"
}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/cfyy/xuanxuan.git
git@gitee.com:cfyy/xuanxuan.git
cfyy
xuanxuan
xuanxuan
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385