1 | {
|
2 | "extends": [
|
3 | "eslint:recommended",
|
4 | "plugin:@typescript-eslint/eslint-recommended",
|
5 | "plugin:@typescript-eslint/recommended",
|
6 | "standard"
|
7 | ],
|
8 | "parser": "@typescript-eslint/parser",
|
9 | "plugins": ["@typescript-eslint"],
|
10 | "env": { "node": true },
|
11 | "parserOptions": {
|
12 | "ecmaVersion": 6,
|
13 | "sourceType": "module",
|
14 | "project": "./types/tsconfig.json"
|
15 | },
|
16 | "rules": {
|
17 | "no-console": "off",
|
18 | "@typescript-eslint/indent": ["error", 2],
|
19 | "semi": ["error", "never"],
|
20 | "import/export": "off" // this errors on multiple exports (overload interfaces)
|
21 | },
|
22 | "overrides": [
|
23 | {
|
24 | "files": ["*.test-d.ts"],
|
25 | "rules": {
|
26 | "@typescript-eslint/explicit-function-return-type": "off"
|
27 | }
|
28 | }
|
29 | ]
|
30 | } |
\ | No newline at end of file |