2018-11-14 19:38:13 +08:00
|
|
|
{
|
|
|
|
"extends": "eslint-config-ali/react",
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"env": {},
|
|
|
|
"globals": {
|
|
|
|
"window": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-shadow": "off",
|
|
|
|
"no-empty": "off",
|
|
|
|
"no-useless-escape": "off",
|
|
|
|
"no-template-curly-in-string": "off",
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"no-tabs": "off",
|
2019-01-22 21:31:47 +08:00
|
|
|
"no-param-reassign": "off",
|
2018-11-14 19:38:13 +08:00
|
|
|
"react/no-string-refs": "off",
|
|
|
|
"react/no-unused-state": "off",
|
|
|
|
"no-return-assign": "off",
|
|
|
|
"no-plusplus": "off",
|
|
|
|
"no-script-url": "off",
|
|
|
|
"no-mixed-operators": "off",
|
|
|
|
"react/jsx-indent": "off",
|
|
|
|
"react/jsx-no-bind": "off",
|
|
|
|
"react/forbid-prop-types": "off",
|
|
|
|
"react/no-array-index-key": "off",
|
|
|
|
"react/sort-comp": "off",
|
|
|
|
"implicit-arrow-linebreak": "off",
|
|
|
|
"prefer-const": "off",
|
|
|
|
"space-before-function-paren": "off",
|
2018-11-14 20:52:38 +08:00
|
|
|
"generator-star-spacing": "off",
|
2018-11-14 19:38:13 +08:00
|
|
|
"wrap-iife": "off",
|
|
|
|
"arrow-parens": "off",
|
2020-01-14 21:12:53 +08:00
|
|
|
"indent": "off",
|
|
|
|
"comma-dangle": "off"
|
2018-11-14 19:38:13 +08:00
|
|
|
}
|
|
|
|
}
|