UNPKG

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