Skip to content

Commit ae8b474

Browse files
committed
chore: add project structure
1 parent 7ea41b7 commit ae8b474

File tree

6 files changed

+2184
-0
lines changed

6 files changed

+2184
-0
lines changed

.eslintrc

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"browser": true,
5+
"amd": true,
6+
"es6": true
7+
},
8+
"root": true,
9+
"extends": [
10+
"eslint:recommended"
11+
],
12+
"plugins": [
13+
"@typescript-eslint"
14+
],
15+
"parser": "@typescript-eslint/parser",
16+
"parserOptions": {
17+
"ecmaVersion": 6,
18+
"sourceType": "module",
19+
"ecmaFeatures": {
20+
"jsx": true
21+
}
22+
},
23+
"rules": {
24+
"no-cond-assign": [
25+
2,
26+
"except-parens"
27+
],
28+
"no-use-before-define": [
29+
2,
30+
{
31+
"functions": false,
32+
"classes": false,
33+
"variables": false
34+
}
35+
],
36+
"new-cap": 0,
37+
"no-caller": 2,
38+
"no-undef": 2,
39+
"no-unused-vars": 0,
40+
"@typescript-eslint/no-unused-vars": "warn",
41+
"no-empty": [
42+
"error",
43+
{
44+
"allowEmptyCatch": true
45+
}
46+
],
47+
"no-console": "off",
48+
"prefer-const": [
49+
"warn",
50+
{
51+
"destructuring": "all"
52+
}
53+
],
54+
"quotes": [
55+
"warn",
56+
"single"
57+
],
58+
"semi": [
59+
"warn",
60+
"never"
61+
],
62+
"spaced-comment": "warn"
63+
}
64+
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

0 commit comments

Comments
 (0)