We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb0fc1 commit b91c26aCopy full SHA for b91c26a
readme.md
@@ -18,7 +18,10 @@ Add some ESLint config to your package.json:
18
{
19
"name": "my-awesome-project",
20
"eslintConfig": {
21
- "extends": ["xo", "xo-typescript"]
+ "extends": [
22
+ "xo",
23
+ "xo-typescript"
24
+ ]
25
}
26
27
```
@@ -27,7 +30,10 @@ Or to .eslintrc:
30
28
31
```json
29
32
33
34
35
36
37
38
39
@@ -44,7 +50,10 @@ $ npm install --save-dev eslint-config-xo-typescript typescript-eslint-parser es
44
50
45
51
46
52
"xo": {
47
- "extends": "xo-typescript"
53
+ "extends": "xo-typescript",
54
+ "extensions": [
55
+ "ts"
56
48
57
49
58
59
0 commit comments