6 Star 14 Fork 20

Choerodon/iam-service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.json 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
binjie chen 提交于 2019-07-01 15:08 . [IMP] 修改组织角色前缀编码
{
"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
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/choerodon/iam-service.git
git@gitee.com:choerodon/iam-service.git
choerodon
iam-service
iam-service
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385