1 | {
|
2 | "parser": "@typescript-eslint/parser",
|
3 | "parserOptions": {
|
4 | "project": "tsconfig.json"
|
5 | },
|
6 | "plugins": ["@typescript-eslint"],
|
7 | "extends": [
|
8 | "eslint:recommended",
|
9 | "plugin:@typescript-eslint/eslint-recommended",
|
10 | "plugin:@typescript-eslint/recommended",
|
11 | "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
12 | "airbnb"
|
13 | ],
|
14 | "settings": {
|
15 | "import/parsers": {
|
16 | "@typescript-eslint/parser": [".ts", ".tsx"]
|
17 | },
|
18 | "import/resolver": {
|
19 | // use <root>/tsconfig.json
|
20 | "node": {},
|
21 | "typescript": {}
|
22 | }
|
23 | },
|
24 | "rules": {
|
25 | "indent": ["warn", 2],
|
26 | "quotes": [
|
27 | "error",
|
28 | "single",
|
29 | {
|
30 | "allowTemplateLiterals": false,
|
31 | "avoidEscape": true
|
32 | }
|
33 | ],
|
34 | "no-console": 0,
|
35 | "@typescript-eslint/camelcase":0
|
36 | }
|
37 | }
|