init project

This commit is contained in:
林梓阳
2024-07-02 15:39:51 +08:00
commit aeba86bb91
33 changed files with 8946 additions and 0 deletions

25
.eslintrc.cjs Normal file
View 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: 2,
'vue/multi-word-component-names': 0,
indent: [
2, 2, {
SwitchCase: 1,
},
],
'vue/html-indent': 2,
'@typescript-eslint/comma-dangle': [2, 'always-multiline'],
},
};