1 Star 0 Fork 18

FundyLiu/asgard-service

forked from open-hand/choerodon-asgard 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.json 2.39 KB
一键复制 编辑 原始数据 按行查看 历史
laincarl 提交于 2019-08-29 17:44 . [IMP]使用dataset重构
{
"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
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/pgsql/asgard-service.git
git@gitee.com:pgsql/asgard-service.git
pgsql
asgard-service
asgard-service
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385