-
Notifications
You must be signed in to change notification settings - Fork 234
/
.eslintrc.json
39 lines (39 loc) · 893 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
{
"env": {
"jasmine": true
},
"extends": "@wireapp/eslint-config",
"ignorePatterns": ["**/*.js", "**/*.jsx"], // Ignore JS files until we migrate to TS
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/typedef": "off",
"no-unused-vars": "off"
}
}
],
"parserOptions": {
"project": ["./tsconfig.json", "./tsconfig.mocha.json", "./tsconfig.bin.json"]
},
"plugins": ["jasmine"],
"rules": {
"import/no-default-export": "off",
"no-magic-numbers": "off",
"no-undef": "off",
"jest/expect-expect": [
"error",
{
"assertFunctionNames": ["expect", "fc.assert", "assert"]
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}