1 Star 0 Fork 5

FundyLiu / manager-service

forked from Choerodon / manager-service 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 2.39 KB
一键复制 编辑 原始数据 按行查看 历史
laincarl 提交于 2019-09-03 16:07 . [ADD]修改菜单统计页面
{
"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": "off",
"no-else-return": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-trailing-spaces": "off",
"no-unused-vars": "warn",
"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",
"react/state-in-constructor":"off",
"react/jsx-fragments":"off",
"react/jsx-props-no-spreading":"off"
},
"globals": {
"Choerodon": true
}
}
Java
1
https://gitee.com/pgsql/manager-service.git
git@gitee.com:pgsql/manager-service.git
pgsql
manager-service
manager-service
master

搜索帮助