Skip to content

Commit 17d88e7

Browse files
committed
eslint and console
1 parent 7ab68ec commit 17d88e7

File tree

4 files changed

+4134
-9
lines changed

4 files changed

+4134
-9
lines changed

.eslintrc.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"env": {
3+
"es2021": true,
4+
"node": true
5+
},
6+
"extends": [
7+
"airbnb-base",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:import/recommended",
10+
"plugin:import/typescript",
11+
"prettier"
12+
],
13+
"parser": "@typescript-eslint/parser",
14+
"parserOptions": {
15+
"ecmaVersion": "latest",
16+
"sourceType": "module"
17+
},
18+
"plugins": [
19+
"@typescript-eslint",
20+
"import",
21+
"prettier"
22+
],
23+
"rules": {
24+
"prettier/prettier": "error",
25+
"import/extensions": [
26+
"error",
27+
"ignorePackages",
28+
{
29+
"ts": "never"
30+
}
31+
]
32+
},
33+
"settings": {
34+
"import/resolver": {
35+
"typescript": {}
36+
}
37+
}
38+
}

.prettierrc

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

0 commit comments

Comments
 (0)