Skip to content

Commit 11f0303

Browse files
committed
Run npm init @eslint/config
1 parent beb8da5 commit 11f0303

File tree

3 files changed

+1342
-216
lines changed

3 files changed

+1342
-216
lines changed

.eslintrc.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended"
9+
],
10+
"overrides": [],
11+
"parser": "@typescript-eslint/parser",
12+
"parserOptions": {
13+
"ecmaVersion": "latest",
14+
"sourceType": "module"
15+
},
16+
"plugins": [
17+
"@typescript-eslint"
18+
],
19+
"rules": {
20+
"indent": [
21+
"error",
22+
4
23+
],
24+
"linebreak-style": [
25+
"error",
26+
"unix"
27+
],
28+
"quotes": [
29+
"error",
30+
"double"
31+
],
32+
"semi": [
33+
"error",
34+
"always"
35+
]
36+
}
37+
}

0 commit comments

Comments
 (0)