chore: copy .prettierrc.yaml over to client.js
This commit is contained in:
parent
390668ec34
commit
260706c172
@ -1647,7 +1647,11 @@ async function sourcePretty() {
|
|||||||
let formatted = await prettier.format(source, {
|
let formatted = await prettier.format(source, {
|
||||||
parser: 'babel',
|
parser: 'babel',
|
||||||
plugins: [babel, estree],
|
plugins: [babel, estree],
|
||||||
|
trailingComma: 'es5',
|
||||||
useTabs: true,
|
useTabs: true,
|
||||||
|
semi: true,
|
||||||
|
singleQuote: true,
|
||||||
|
bracketSpacing: false,
|
||||||
});
|
});
|
||||||
if (source !== formatted) {
|
if (source !== formatted) {
|
||||||
gEditor.dispatch({
|
gEditor.dispatch({
|
||||||
|
Loading…
Reference in New Issue
Block a user