diff --git a/web/.prettierignore b/web/.prettierignore new file mode 100644 index 0000000..53c6465 --- /dev/null +++ b/web/.prettierignore @@ -0,0 +1,3 @@ +# .prettierignore +auto-imports.d.ts +components.d.ts diff --git a/web/.prettierrc.json b/web/.prettierrc.json new file mode 100644 index 0000000..c4b2197 --- /dev/null +++ b/web/.prettierrc.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc", + "tabWidth": 2, + "singleQuote": false, + "printWidth": 80, + "trailingComma": "none", + "ignorePath": ".prettierignore" +} diff --git a/web/eslint.config.js b/web/eslint.config.js index 9e5e7f3..6eca3f6 100644 --- a/web/eslint.config.js +++ b/web/eslint.config.js @@ -1,39 +1,36 @@ -import antfu from "@antfu/eslint-config" +import antfu from "@antfu/eslint-config"; -export default antfu( - { - formatters: { - /** - * Format CSS, LESS, SCSS files, also the `