mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 10:34:09 +03:00
Merge pull request #356 from toastts/@toastts/prettier-config
added simple prettier defaults
This commit is contained in:
commit
124ba6f4e2
4
.prettierignore
Normal file
4
.prettierignore
Normal file
@ -0,0 +1,4 @@
|
||||
out/
|
||||
dist/
|
||||
test-fixtures/
|
||||
node_modules/
|
23
.prettierrc
Normal file
23
.prettierrc
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"printWidth":100,
|
||||
"tabWidth":2,
|
||||
"useTabs":false,
|
||||
"semi":false,
|
||||
"singleQuote":false,
|
||||
"trailingComma":"es5",
|
||||
"bracketSpacing":false,
|
||||
"jsxBracketSameLine":false,
|
||||
"arrowParens":"always",
|
||||
"requirePragma":false,
|
||||
"insertPragma":false,
|
||||
"proseWrap":"preserve",
|
||||
"parser":"babel"
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.js",
|
||||
"options": {
|
||||
"parser": "babel"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user