Browse Source

[common] Add default Prettier config

master
juan 3 years ago
parent
commit
3c1371a47b
2 changed files with 14 additions and 0 deletions
  1. +13
    -0
      .prettierrc.json
  2. +1
    -0
      common/.prettierrc.json

+ 13
- 0
.prettierrc.json View File

@ -0,0 +1,13 @@
{
"arrowParens": "avoid",
"bracketSameLine": false,
"bracketSpacing": false,
"endOfLine": "lf",
"printWidth": 79,
"quoteProps": "as-needed",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}

+ 1
- 0
common/.prettierrc.json View File

@ -0,0 +1 @@
../.prettierrc.json

Loading…
Cancel
Save