1 Star 0 Fork 1

Mr.Chang/fframe

forked from chenjianjun571/fframe 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
chenjianjun571 提交于 2016-12-19 17:43 . 修改框架
{
"extends": ["eslint-config-airbnb"],
"env": {
"browser": true,
"node": true
},
"ecmaFeatures": {
"jsx": true
},
"parser": "babel-eslint",
"plugins": [
"react",
"babel"
],
"rules": {
"constructor-super": 2,
"comma-dangle": 0,
"semi": ["off"],
"jsx-quotes": [2, "prefer-single"],
"no-console": ["off"],
"arrow-parens": ["off"],
"import/prefer-default-export": ["off"],
"key-spacing": 0,
"eqeqeq": [2, "allow-null"],
"id-length": 0,
"indent": [2, 2, { "SwitchCase": 1, "VariableDeclarator": 1 }],
"no-eq-null": 0,
"one-var": [2, { "initialized": "never" }],
"prefer-const": 0,
"no-param-reassign": 0,
"no-this-before-super": 2,
"no-lonely-if": ["off"],
"react/jsx-boolean-value": 2,
"react/jsx-no-duplicate-props": 2,
"react/forbid-prop-types" : ["off"],
"import/extensions" : ["off"],
"react/prefer-stateless-function" : ["off"],
"react/sort-comp": 0,
"react/prop-types": [2, { "ignore": [
"children",
"className",
"style",
"bsStyle",
"bsClass",
"bsSize"
]
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/MrZhang/fframe.git
git@gitee.com:MrZhang/fframe.git
MrZhang
fframe
fframe
master

搜索帮助