mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-20 21:53:11 +00:00
2ea86b2ca2
Implemented automatic code formatting for JS/TSX using prettier and husky with pre-commit hook Signed-off-by: SAGAR PATEL <sagar.a.patel@slscorp.com> Co-authored-by: Orne Brocaar <info@brocaar.com>
14 lines
281 B
JSON
14 lines
281 B
JSON
{
|
|
"trailingComma": "all",
|
|
"tabWidth": 2,
|
|
"endOfLine": "auto",
|
|
"semi": true,
|
|
"singleQuote": false,
|
|
"printWidth": 120,
|
|
"bracketSpacing": true,
|
|
"arrowParens": "avoid",
|
|
"jsxSingleQuote": false,
|
|
"quoteProps": "as-needed",
|
|
"jsxBracketSameLine": true
|
|
}
|