Skip to content

Commit b14284c

Browse files
Feature: Add event tracking & fix eslint problems (#24)
1 parent 2fee4a3 commit b14284c

File tree

117 files changed

+850
-595
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+850
-595
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
build

.eslintrc.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"env":{
3+
"browser":true,
4+
"es2021":true
5+
},
6+
"extends":[
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"prettier"
10+
],
11+
"parser":"@typescript-eslint/parser",
12+
"parserOptions":{
13+
"ecmaVersion":"latest",
14+
"sourceType":"module"
15+
},
16+
"plugins":[
17+
"@typescript-eslint",
18+
"check-file",
19+
"import"
20+
],
21+
"rules":{
22+
"import/extensions": [
23+
"off",
24+
"ignorePackages",
25+
{
26+
"ts": "always",
27+
"tsx": "always"
28+
}
29+
],
30+
"linebreak-style":[
31+
"error",
32+
"unix"
33+
],
34+
"quotes":[
35+
"error",
36+
"single"
37+
],
38+
"semi":[
39+
"error",
40+
"always"
41+
],
42+
"@typescript-eslint/ban-ts-comment": [
43+
"warn",
44+
{"ts-ignore": "allow-with-description"}
45+
]
46+
}
47+
}

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"printWidth": 120
4+
}

package-lock.json

Lines changed: 113 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)