1 Star 0 Fork 91

lvhaiyan888 / ujcms-cp

forked from ujcms / ujcms-cp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
ujcms 提交于 2022-03-21 17:04 . v2.0.2 发布
module.exports = {
root: true,
env: {
node: true,
},
extends: ['plugin:vue/vue3-essential', 'airbnb-base', '@vue/typescript/recommended', '@vue/prettier', '@vue/prettier/@typescript-eslint'],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
// 'no-param-reassign': ['error', { props: true, ignorePropertyModificationsFor: ['state'] }],
// 'linebreak-style': [0, 'error', 'windows'],
// 'import/prefer-default-export': 'off',
'@typescript-eslint/no-explicit-any': 'off',
// '@typescript-eslint/explicit-module-boundary-types': 'off',
// // 避免使用Q_作为查询参数时报错
// '@typescript-eslint/camelcase': 'off',
'import/extensions': 'off',
endOfLine: 'auto',
},
settings: {
'import/resolver': {
alias: {
map: [['@', './src']],
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.vue'],
},
},
},
overrides: [
{
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
env: {
jest: true,
},
},
],
};
TypeScript
1
https://gitee.com/lvhaiyan/ujcms-cp.git
git@gitee.com:lvhaiyan/ujcms-cp.git
lvhaiyan
ujcms-cp
ujcms-cp
master

搜索帮助