1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

chore: add prettier rules

This commit is contained in:
ivaosthu 2018-11-22 11:17:50 +01:00 committed by Ivar Conradi Østhus
parent 4cd7b59382
commit b24a7b06f3

View File

@ -113,5 +113,19 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
},
"prettier": {
"proseWrap": "never",
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"overrides": [
{
"files": "*.{json,yaml,yml,md}",
"options": {
"tabWidth": 2
}
}
]
} }
} }