1 Star 0 Fork 0

cman2014 / react-webpack-ts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 753 Bytes
一键复制 编辑 原始数据 按行查看 历史
HaloPigpig 提交于 2023-06-16 17:38 . feat: 添加页面缓存功能
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/jsx-runtime',
],
overrides: [],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['react', '@typescript-eslint', 'react-hooks'],
rules: {
'@typescript-eslint/no-var-requires': 0,
'react-hooks/rules-of-hooks': 'error',
'react/jsx-uses-react': 2,
'react-hooks/exhaustive-deps': [
'warn',
{
additionalHooks: 'useRecoilCallback',
},
],
},
settings: {
react: {
version: 'detect',
},
},
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cman2014/react-webpack-ts.git
git@gitee.com:cman2014/react-webpack-ts.git
cman2014
react-webpack-ts
react-webpack-ts
develop

搜索帮助