mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-04 00:20:26 +03:00
Initial Astro project
This commit is contained in:
44
.prettierrc.mjs
Normal file
44
.prettierrc.mjs
Normal file
@ -0,0 +1,44 @@
|
||||
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: 120,
|
||||
proseWrap: "never",
|
||||
quoteProps: "consistent",
|
||||
requirePragma: false,
|
||||
semi: true,
|
||||
singleAttributePerLine: false,
|
||||
singleQuote: false,
|
||||
tabWidth: 4,
|
||||
trailingComma: "es5",
|
||||
useTabs: true,
|
||||
vueIndentScriptAndStyle: false,
|
||||
};
|
Reference in New Issue
Block a user