fonc: ajoute prettier-plugin-{curly,jsdoc}
This commit is contained in:
parent
2ded5ae622
commit
5dd4c86018
4 changed files with 93 additions and 106 deletions
5
index.js
5
index.js
|
|
@ -36,6 +36,8 @@ export const configClassique = {
|
|||
endOfLine: "lf",
|
||||
experimentalTernaries: true,
|
||||
htmlWhitespaceSensitivity: "ignore",
|
||||
jsdocPreferCodeFences: true,
|
||||
jsdocVerticalAlignment: true,
|
||||
overrides: [
|
||||
// Pour package.json.
|
||||
{
|
||||
|
|
@ -45,7 +47,7 @@ export const configClassique = {
|
|||
},
|
||||
},
|
||||
],
|
||||
plugins: ["prettier-plugin-sh"],
|
||||
plugins: ["prettier-plugin-curly", "prettier-plugin-jsdoc", "prettier-plugin-sh"],
|
||||
printWidth: 120,
|
||||
proseWrap: "never",
|
||||
quoteProps: "as-needed",
|
||||
|
|
@ -54,6 +56,7 @@ export const configClassique = {
|
|||
singleQuote: false,
|
||||
tabWidth: 2,
|
||||
trailingComma: "all",
|
||||
tsdoc: true,
|
||||
useTabs: false,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue