diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..a0ece49 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +.env.example +.idea +pnpm-lock.yaml diff --git a/.prettierrc.cjs b/.prettierrc.cjs index 196b386..7e49695 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -1,18 +1,8 @@ // @ts-check -/** @type {import("prettier").Options & import("prettier-plugin-tailwindcss").PluginOptions} */ +/** @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions} */ const config = { plugins: ["prettier-plugin-tailwindcss"], - arrowParens: "avoid", - bracketSpacing: true, - quoteProps: "consistent", - jsxSingleQuote: false, - printWidth: 80, - semi: true, - singleQuote: false, - tabWidth: 2, - trailingComma: "all", - useTabs: false, }; module.exports = config; diff --git a/package.json b/package.json index be86e52..ff76f29 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dev": "vite", "lint": "eslint src --cache --fix --max-warnings 0", "preview": "vite preview", - "format": "prettier --cache --write '**/*.{md,json,css,scss,js,mjs,cjs,ts,tsx}'" + "format": "prettier --cache --write ." }, "dependencies": { "axios": "^1.6.7",