Add prettier

This commit is contained in:
RainLoop Team 2019-07-04 22:09:27 +03:00
parent 08da3030b0
commit 450528ff00
61 changed files with 516 additions and 1456 deletions

26
.prettierrc Normal file
View file

@ -0,0 +1,26 @@
{
"printWidth": 120,
"semi": true,
"singleQuote": true,
"useTabs": true,
"bracketSpacing": true,
"trailingComma": "none",
"arrowParens": "always",
"endOfLine": "lf",
"quoteProps": "preserve",
"overrides": [
{
"files": "*.js",
"options": {
"parser": "babel"
}
},
{
"files": "*.jsx",
"options": {
"parser": "babel"
}
}
]
}