0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-03 16:10:26 +03:00
Files
popov.link/.prettierrc.mjs
Valentin Popov 423344fca5 chore: remove unused environment variables and update layout components
- Deleted the .env and src/env.d.ts files as they are no longer needed.
- Updated BaseLayout to require title and description props directly, ensuring better clarity in component usage.
- Adjusted various pages to pass explicit title and description values, enhancing SEO and user experience.
- Increased print width in .prettierrc.mjs for improved code formatting.
2025-06-11 17:20:43 +00:00

45 lines
769 B
JavaScript

export default {
arrowParens: "always",
bracketSameLine: false,
bracketSpacing: true,
embeddedLanguageFormatting: "auto",
endOfLine: "lf",
htmlWhitespaceSensitivity: "ignore",
insertPragma: false,
jsxSingleQuote: false,
overrides: [
{
files: "*.astro",
options: {
parser: "astro",
},
},
{
files: "*.json",
options: {
tabWidth: 2,
useTabs: false,
},
},
{
files: "*.yml",
options: {
tabWidth: 2,
useTabs: false,
},
},
],
plugins: ["prettier-plugin-astro"],
printWidth: 180,
proseWrap: "never",
quoteProps: "consistent",
requirePragma: false,
semi: true,
singleAttributePerLine: false,
singleQuote: false,
tabWidth: 4,
trailingComma: "es5",
useTabs: true,
vueIndentScriptAndStyle: false,
};