-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (40 loc) · 926 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"root": true,
"env": {
"browser": true,
"es2023": true,
"node": true
},
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:import/recommended",
"plugin:prettier/recommended",
"eslint-config-prettier"
],
"plugins": ["import", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js"],
"moduleDirectory": ["node_modules", "src/"]
}
}
},
"rules": {
"prettier/prettier": "error",
"no-console": "error",
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"@typescript-eslint/no-non-null-assertion": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
]
}
}