Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 012b6e6

Browse files
j-f1bradzacher
authored andcommitted
[DEPS] Make TypeScript a peerDependency (#265)
1 parent 99c739e commit 012b6e6

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@ TypeScript support for ESLint. (This is still in the very early stages, so pleas
1212

1313
You'll first need to install [ESLint](http://eslint.org):
1414

15-
```
15+
```shellsession
1616
$ npm i eslint --save-dev
1717
```
1818

19-
Last, install `eslint-plugin-typescript`:
19+
Next, install `typescript` if you haven’t already:
2020

21+
```shellsession
22+
$ npm i typescript@~3.1.1 --save-dev
2123
```
24+
25+
Last, install `eslint-plugin-typescript`:
26+
27+
```shellsession
2228
$ npm install eslint-plugin-typescript --save-dev
2329
```
2430

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"typescript": "~3.1.1"
4747
},
4848
"peerDependencies": {
49-
"eslint": ">=4.13.1 < 6"
49+
"eslint": ">=4.13.1 < 6",
50+
"typescript": "~3.1.1"
5051
},
5152
"nyc": {
5253
"include": [

0 commit comments

Comments
 (0)