初始化组件脚本update

This commit is contained in:
niunai
2017-01-15 16:15:53 +08:00
parent 900b5d7063
commit 61415a16b6
18 changed files with 159 additions and 294 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"semi": 0,
"max-len": 0,
"react/prefer-stateless-function": 0,
"comma-dangle": 0,
"func-names": 0,
"prefer-const": 0,
"arrow-body-style": 0,
"react/sort-comp": 0,
"react/no-multi-comp": 0,
"react/prop-types": 0,
"react/prefer-es6-class": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-no-bind": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"consistent-return": 0,
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"no-use-before-define": ["error", { "functions": false }],
"no-underscore-dangle": 0
}
}