-
Notifications
You must be signed in to change notification settings - Fork 18
/
.eslintrc
38 lines (38 loc) · 866 Bytes
/
.eslintrc
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"env": {
"node": true,
"jest": true
},
"rules": {
"prettier/prettier": [
"error",
{
"printWidth": 105,
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"proseWrap": "always"
}
],
"no-underscore-dangle": [
"error",
{
"allow": ["_id", "__MONGO_URI__", "__MONGO_DB_NAME__", "__SUBPROCESS_UNCHAINED__", "__MONGOD__"]
}
],
"no-unused-vars": "error",
"no-shadow": ["warn"],
"import/no-mutable-exports": "off",
"import/prefer-default-export": 0,
"import/extensions": [0]
}
}