pref: make prettier to flat config.
This commit is contained in:
parent
c82ad68d32
commit
68e8fc8989
12
.prettierrc
12
.prettierrc
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"arrowParens": "always",
|
|
||||||
"bracketSpacing": true,
|
|
||||||
"endOfLine": "lf",
|
|
||||||
"printWidth": 110,
|
|
||||||
"proseWrap": "preserve",
|
|
||||||
"quoteProps": "as-needed",
|
|
||||||
"semi": true,
|
|
||||||
"tabWidth": 4,
|
|
||||||
"trailingComma": "es5",
|
|
||||||
"useTabs": true
|
|
||||||
}
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
/** @type {import("prettier").Config} */
|
||||||
|
export default {
|
||||||
|
arrowParens: "always",
|
||||||
|
bracketSpacing: true,
|
||||||
|
endOfLine: "lf",
|
||||||
|
printWidth: 110,
|
||||||
|
proseWrap: "preserve",
|
||||||
|
quoteProps: "as-needed",
|
||||||
|
semi: true,
|
||||||
|
tabWidth: 4,
|
||||||
|
trailingComma: "es5",
|
||||||
|
useTabs: true,
|
||||||
|
};
|
Loading…
Reference in New Issue