Skip to content

Commit 6130fa2

Browse files
committed
Remove junk + add eslint and basic types
1 parent 0019f6f commit 6130fa2

File tree

9 files changed

+2390
-272
lines changed

9 files changed

+2390
-272
lines changed

.eslintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true
5+
},
6+
"extends": [
7+
"standard"
8+
],
9+
"globals": {
10+
"Atomics": "readonly",
11+
"SharedArrayBuffer": "readonly"
12+
},
13+
"parser": "@typescript-eslint/parser",
14+
"parserOptions": {
15+
"ecmaVersion": 2018,
16+
"sourceType": "module"
17+
},
18+
"plugins": [
19+
"@typescript-eslint"
20+
],
21+
"rules": {
22+
"@typescript-eslint/no-explicit-any": 2
23+
}
24+
}

lefthook.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pre-commit:
2+
parallel: true
3+
commands:
4+
eslint:
5+
glob: "*.{ts}"
6+
run: yarn eslint {staged_files}

0 commit comments

Comments
 (0)