UNPKG

957 BJSONView Raw
1{
2 "root": true,
3 "extends": ["eslint:recommended", "google", "plugin:prettier/recommended"],
4 "env": {
5 "node": true,
6 "mocha": true,
7 "es6": true
8 },
9 "overrides": [
10 {
11 "files": ["*.ts"],
12 "extends": [
13 "plugin:@typescript-eslint/eslint-recommended",
14 "plugin:@typescript-eslint/recommended",
15 "plugin:@typescript-eslint/recommended-requiring-type-checking"
16 ],
17 "rules": {
18 "no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
19 "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
20 "@typescript-eslint/explicit-function-return-type": "off"
21 }
22 },
23 {
24 "files": ["*.test.ts"],
25 "rules": {
26 "@typescript-eslint/no-explicit-any": "off",
27 "@typescript-eslint/unbound-method": "off"
28 }
29 }
30 ],
31 "parserOptions": {
32 "ecmaVersion": 8,
33 "sourceType": "module",
34 "project": "./tsconfig.json"
35 }
36}