初始化组件脚本update
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user