chore: 容器框架升级,修复项目命令行异常问题
This commit is contained in:
25
apps/y-code-v1/.eslintrc.cjs
Normal file
25
apps/y-code-v1/.eslintrc.cjs
Normal file
@@ -0,0 +1,25 @@
|
||||
/* eslint-env node */
|
||||
require('@rushstack/eslint-patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
'extends': [
|
||||
'plugin:vue/vue3-essential',
|
||||
'eslint:recommended',
|
||||
'@vue/eslint-config-typescript',
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
},
|
||||
rules: {
|
||||
semi: 0,
|
||||
'vue/multi-word-component-names': 0,
|
||||
indent: [
|
||||
2, 2, {
|
||||
SwitchCase: 1,
|
||||
},
|
||||
],
|
||||
'vue/html-indent': 2,
|
||||
'@typescript-eslint/comma-dangle': [2, 'always-multiline'],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user