加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1014 Bytes
一键复制 编辑 原始数据 按行查看 历史
qitmac001060 提交于 2019-07-24 19:53 . fix: merge anu/branch3
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"plugins": ["react"],
"parser": "babel-eslint",
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"keyword-spacing": [
2,
{
"before": true,
"after": true
}
],
"react/jsx-uses-vars": 2
},
"globals": {
"wx": true,
"expect": true,
"describe": true,
"test": true
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化