1 Star 0 Fork 0

KwooShung / react-no-ssr

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.cjs 873 Bytes
一键复制 编辑 原始数据 按行查看 历史
KwooShung 提交于 2023-11-09 17:21 . 🍻 release(components): release
module.exports = {
root: true,
env: {
browser: true,
es2020: true
},
extends: ['eslint:recommended', 'plugin:react/recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'prettier', 'plugin:prettier/recommended'],
plugins: ['react-hooks', 'react-refresh'],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true
},
ecmaVersion: 'latest',
sourceType: 'module'
},
rules: {
'no-undef': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'react/react-in-jsx-scope': 'off',
'react/jsx-uses-react': 'off',
'no-plusplus': 'off',
'no-unused-expressions': 'off',
'no-param-reassign': 'off'
}
};
1
https://gitee.com/kwooshung/react-no-ssr.git
git@gitee.com:kwooshung/react-no-ssr.git
kwooshung
react-no-ssr
react-no-ssr
develop

搜索帮助