-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1.14 KB
/
.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
39
40
41
42
43
44
45
46
{
"env": { "es6": true, "node": true },
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"prettier",
"plugin:prettier/recommended",
"eslint-config-prettier",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": { "jsx": true }
},
"plugins": ["@typescript-eslint"],
"rules": {
"strict": 0,
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"max-lines": ["error", { "max": 1000 }],
"no-console": 0,
"no-undef": "error",
"object-curly-spacing": ["warn", "always"],
"quotes": ["error", "single"],
"sort-imports": [
"error",
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "multiple", "single", "all"]
}
],
"@typescript-eslint/camelcase": "off"
},
"overrides": [
{
"files": ["src/database/**/*.js"],
"rules": {
"@typescript-eslint/no-var-requires": "off"
}
}
]
}