Skip to content

Commit 598e0d8

Browse files
committed
Added typescript support
Added prettier Dependencies are updated to latest versions
1 parent 0c3e2a0 commit 598e0d8

34 files changed

+443
-12585
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea
22
dist
33
node_modules
4+
package-lock.json

.prettierrc

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"useTabs": false,
3+
"tabWidth": 4,
4+
"singleQuote": true,
5+
"trailingComma": "all",
6+
"semi": true,
7+
"arrowParens": "always",
8+
"bracketSpacing": false,
9+
"endOfLine": "lf",
10+
"overrides": [
11+
{
12+
"files": ["*.ts"],
13+
"options": {
14+
"parser": "typescript"
15+
}
16+
},
17+
{
18+
"files": ["*.tsx"],
19+
"options": {
20+
"parser": "typescript",
21+
"jsxBracketSameLine": false,
22+
"jsxSingleQuote": false
23+
}
24+
},
25+
{
26+
"files": ["*.scss"],
27+
"options": {
28+
"parser": "scss"
29+
}
30+
},
31+
{
32+
"files": ["*.json"],
33+
"options": {
34+
"parser": "json"
35+
}
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)