mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-24 14:56:27 +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