forked from sbatson5/firestore-jest-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 934 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
{
"root": true,
"ignorePatterns": ["mocks", "index.*", "dist", "node_modules"],
"extends": ["plugin:jest/recommended"],
"plugins": ["jest"],
"parserOptions": {
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"overrides": [
{
"files": ["*.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "."
},
"plugins": ["@typescript-eslint"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"rules": {
"@typescript-eslint/no-empty-interface": "off",
"prefer-rest-params": "off",
"no-undef": "off", // TypeScript does this for us
"no-use-before-define": "off" // TypeScript does this for us
}
}
]
}