代码拉取完成,页面将自动刷新
{
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
// "worker": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"babel",
"react"
],
"extends": "airbnb",
"rules": {
"class-methods-use-this": "off",
"consistent-return": "off",
"global-require": "off",
"import/extensions": "off",
"import/no-duplicates": "off",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-unresolved": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/anchor-is-valid": [
"warn",
{
"aspects": [
"invalidHref"
]
}
],
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/interactive-supports-focus": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-noninteractive-tabindex": "off",
"jsx-a11y/no-static-element-interactions": "off",
"linebreak-style": "off",
"max-len": "off",
"no-console": "error",
"no-control-regex": "off",
"no-debugger": "error",
"no-else-return": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-trailing-spaces": "off",
"no-unused-vars": "off",
"object-curly-newline": "off",
"react/destructuring-assignment": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": "off",
"react/jsx-no-bind": [
"error",
{
"ignoreRefs": true,
"allowArrowFunctions": true,
"allowBind": true
}
],
"react/jsx-one-expression-per-line": "off",
"react/no-array-index-key": "off",
"react/no-unused-prop-types": "off",
"react/prefer-stateless-function": [
"off",
{
"ignorePureComponents": true
}
],
"react/prop-types": "off",
"react/require-default-props": "off",
"react/sort-comp": "off"
},
"globals": {
"Choerodon": true
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。