diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 7f5b23f..0000000 --- a/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}] -charset = utf-8 -indent_size = 2 -indent_style = space -insert_final_newline = true -trim_trailing_whitespace = true - -end_of_line = lf -max_line_length = 100 diff --git a/.prettierrc.json b/.prettierrc.json deleted file mode 100644 index e4bac4d..0000000 --- a/.prettierrc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/prettierrc", - "semi": false, - "singleQuote": true, - "printWidth": 100, - "endOfLine": "lf" -} diff --git a/eslint.config.ts b/eslint.config.ts index 294e1ee..9406804 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -1,6 +1,9 @@ -import pluginVue from 'eslint-plugin-vue' -import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript' -import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' +import pluginVue from "eslint-plugin-vue"; +import { + defineConfigWithVueTs, + vueTsConfigs, +} from "@vue/eslint-config-typescript"; +import prettierConfig from "@vue/eslint-config-prettier"; // To allow more languages other than `ts` in `.vue` files, uncomment the following lines: // import { configureVueProject } from '@vue/eslint-config-typescript' @@ -9,17 +12,21 @@ import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' export default defineConfigWithVueTs( { - name: 'app/files-to-lint', - files: ['**/*.{ts,mts,tsx,vue}'], + name: "app/files-to-lint", + files: ["**/*.{ts,mts,tsx,vue}"], }, { - name: 'app/files-to-ignore', + name: "app/files-to-ignore", // todo: change or remove assets/js - ignores: ['src/assets/js', '**/dist/**', '**/dist-ssr/**', '**/coverage/**'], + ignores: [ + "src/assets/js", + "**/dist/**", + "**/dist-ssr/**", + "**/coverage/**"] }, - pluginVue.configs['flat/essential'], + pluginVue.configs["flat/essential"], vueTsConfigs.recommended, - skipFormatting, -) + prettierConfig, +) \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index ec64b1e..dc2c113 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,9 @@