1 Star 0 Fork 1

不若吃茶去 / react-keepAlive

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 899 Bytes
一键复制 编辑 原始数据 按行查看 历史
tangzh 提交于 2021-12-10 15:48 . first commit
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
},
globals: {
__webpack_public_path__: true,
},
plugins: ['react', '@typescript-eslint', 'react-hooks'],
rules: {
camelcase: 'off',
'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'@typescript-eslint/camelcase': ['off', { properties: 'always' }],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': [
'error',
{},
{
usePrettierrc: true,
},
],
},
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/qianyeyixi-qianyeyixi/react-keepAlive.git
git@gitee.com:qianyeyixi-qianyeyixi/react-keepAlive.git
qianyeyixi-qianyeyixi
react-keepAlive
react-keepAlive
main

搜索帮助