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

Commit

Permalink
[DEPS] Make TypeScript a peerDependency (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 authored and bradzacher committed Dec 29, 2018
1 parent 99c739e commit 012b6e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,19 @@ TypeScript support for ESLint. (This is still in the very early stages, so pleas

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

```
```shellsession
$ npm i eslint --save-dev
```

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

```shellsession
$ npm i typescript@~3.1.1 --save-dev
```

Last, install `eslint-plugin-typescript`:

```shellsession
$ npm install eslint-plugin-typescript --save-dev
```

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"typescript": "~3.1.1"
},
"peerDependencies": {
"eslint": ">=4.13.1 < 6"
"eslint": ">=4.13.1 < 6",
"typescript": "~3.1.1"
},
"nyc": {
"include": [
Expand Down

0 comments on commit 012b6e6

Please sign in to comment.