8 Star 1 Fork 1

ipr-fe/knk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
artd 提交于 2022-09-16 09:34 +08:00 . chore: eslint
const base = require('@umijs/fabric/dist/eslint');
module.exports = {
...base,
rules: {
...base.rules,
'indent': [ 'error', 4 ], // 强制使用一致的缩进
'arrow-parens': 0,
'react/no-array-index-key': 0,
'react/sort-comp': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/no-inferrable-types': 0,
'react/no-find-dom-node': 1,
'react/require-default-props': 0,
'react/no-unescaped-entities': 0,
'no-confusing-arrow': 0,
'import/no-named-as-default-member': 0,
'jsx-a11y/label-has-for': 0,
'jsx-a11y/label-has-associated-control': 0,
'jsx-a11y/control-has-associated-label': 0,
'jsx-a11y/alt-text': 0,
'no-plusplus': 0,
'func-names': 0,
'no-unused-vars': 0,
'no-nested-ternary': 0,
'no-use-before-define': 0,
'array-callback-return': 0,
'no-param-reassign': 0,
'consistent-return': 0,
'prefer-destructuring': 0,
'no-restricted-syntax': 0,
'no-unused-expressions': 0,
'guard-for-in': 0,
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ipr-fe/knk.git
git@gitee.com:ipr-fe/knk.git
ipr-fe
knk
knk
feat-hook

搜索帮助