-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.eslintrc.json
36 lines (36 loc) · 961 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
{
"env": {
"es2021": true,
"node": true,
"jest/globals": true
},
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "jest"],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-var-requires": "off",
"import/extensions": "off",
"import/no-import-module-exports": "off",
"consistent-return": "off",
"indent": ["error", "tab"],
"linebreak-style": ["error", "unix"],
"max-len": ["warn", 100],
"no-continue": "off",
"no-param-reassign": "off",
"no-restricted-syntax": "off",
"no-tabs": "off",
"no-unused-expressions": "off",
"no-use-before-define": "off",
"object-curly-spacing": ["error", "always"],
"quotes": ["error", "double"]
},
"ignorePatterns": [
"test/test-project/**/*"
]
}