forked from jmatsu/vector-drawable-previewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
36 lines (36 loc) · 869 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"jest"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/adjacent-overload-signatures": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_.*" }],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
},
"env": {
"browser": true,
"node": false,
"es6": true,
"jest/globals": true
},
"globals": {
"chrome": "readonly",
"globalThis": "readonly",
"spyOn": "readonly"
}
}