diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 67b8bc4b..00000000 --- a/.eslintignore +++ /dev/null @@ -1,6 +0,0 @@ -node_modules/ -.temp/ -.cache/ -lib/ -dist/ -!.vitepress/ diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index d60ebb84..00000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,33 +0,0 @@ -/* eslint-env node */ -require('@rushstack/eslint-patch/modern-module-resolution') - -module.exports = { - root: true, - plugins: ['prettier', 'vue'], - extends: [ - 'plugin:prettier/recommended', - 'plugin:vue/vue3-essential', - 'eslint:recommended', - '@vue/typescript/recommended', - '@vue/eslint-config-typescript', - '@vue/eslint-config-prettier', - '@vue/eslint-config-prettier/skip-formatting' - ], - parserOptions: { - ecmaVersion: 'latest' - }, - rules: { - 'prettier/prettier': 'warn', - 'linebreak-style': ['error', 'unix'], - 'quotes': ['error', 'single'], - 'no-useless-return': 'error', - 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-var': 'error', - '@typescript-eslint/no-unused-vars': 'off', // disable for setup script - // '@typescript-eslint/no-non-null-assertion': 'off', // disable for const { ... } = getCurrentInstance()!.appContext.config.globalProperties - '@typescript-eslint/ban-ts-comment': 'off', - 'vue/require-default-prop': 'off', - 'vue/multi-word-component-names': 'off' - } -} diff --git a/docs/.vitepress/components/Curtain.vue b/docs/.vitepress/components/Curtain.vue index 6bcd1460..1f0c989b 100644 --- a/docs/.vitepress/components/Curtain.vue +++ b/docs/.vitepress/components/Curtain.vue @@ -14,61 +14,7 @@ withDefaults(defineProps(), { - - diff --git a/docs/.vitepress/components/FakeQQ/ChatFile.vue b/docs/.vitepress/components/FakeQQ/ChatFile.vue index fdfd946b..f6440a16 100644 --- a/docs/.vitepress/components/FakeQQ/ChatFile.vue +++ b/docs/.vitepress/components/FakeQQ/ChatFile.vue @@ -1,5 +1,5 @@