mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-03 16:10:26 +03:00
- Updated various components to include `lang` attributes for improved accessibility and SEO. - Introduced a new `env.d.ts` file to define environment variables for better type safety. - Adjusted the print width in `.prettierrc.mjs` for improved code formatting. - Streamlined the `Header`, `PostElement`, and `SocialLinks` components for better structure and clarity. - Added language support to blog posts and updated the layout to reflect these changes.
45 lines
769 B
JavaScript
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: 256,
|
|
proseWrap: "never",
|
|
quoteProps: "consistent",
|
|
requirePragma: false,
|
|
semi: true,
|
|
singleAttributePerLine: false,
|
|
singleQuote: false,
|
|
tabWidth: 4,
|
|
trailingComma: "es5",
|
|
useTabs: true,
|
|
vueIndentScriptAndStyle: false,
|
|
};
|