1 Star 0 Fork 7

光头哥哥/ad-hub-frontend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
Yaofa.zhu 提交于 2021-07-23 16:54 . feat: init
module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
require.resolve('@umijs/fabric/dist/eslint')
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react',
],
settings: {
'import/resolver': {
alias: {
map: [
['@', './src']
]
}
},
},
rules: {
'object-curly-newline': 'off',
'object-shorthand': 'off',
'no-unused-expressions': ["error", { "allowShortCircuit": true }],
'jsx-a11y/anchor-is-valid': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'implicit-arrow-linebreak': 'off',
'no-param-reassign': 'off',
'no-return-await': 'off',
'prefer-destructuring': 'off',
'consistent-return': 'off',
'arrow-body-style': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
"no-shadow": "off",
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guangtougege/ad-hub-frontend.git
git@gitee.com:guangtougege/ad-hub-frontend.git
guangtougege
ad-hub-frontend
ad-hub-frontend
v1.6.0

搜索帮助

0d507c66 1850385 C8b1a773 1850385