1 Star 0 Fork 0

cheung_lei/react-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.cjs 785 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhanglei 提交于 2024-08-12 21:25 . init react-admin
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
overrides: [],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: ["tsconfig.json", "vite.config.ts"],
tsconfigRootDir: __dirname,
},
plugins: ["react", "@typescript-eslint", "react-hooks"],
settings: {
react: {
version: "detect",
},
},
rules: {
"prefer-const": "warn",
"no-prototype-builtins": "off",
"no-empty": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "warn",
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cheung_lei/react-admin.git
[email protected]:cheung_lei/react-admin.git
cheung_lei
react-admin
react-admin
master

搜索帮助