chore: Configueer formatting
Prettier en .editorconfig
This commit is contained in:
parent
2f280d3fb2
commit
977b49f659
4 changed files with 34 additions and 14 deletions
13
prettier.config.js
Normal file
13
prettier.config.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* @type {import("prettier").Options}
|
||||
*/
|
||||
export default {
|
||||
printWidth: 80,
|
||||
semi: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'es5',
|
||||
bracketSpacing: true,
|
||||
objectWrap: 'preserve',
|
||||
bracketSameLine: false,
|
||||
arrowParens: 'always',
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue