This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
How should the TypeScript package be installed? #264
Closed
Description
Repro
{
"parserOptions": {
"parser": "eslint-plugin-typescript/parser"
}
}
// literally any code
it can be valid or invalid, doesn't matter
Expected Result
Linting passes
Actual Result
Parsing error: Cannot find module 'typescript'
Additional Info
I’ve only installed eslint-plugin-typescript
.
Versions
package | version |
---|---|
eslint-plugin-typescript |
bradzacher/eslint-plugin-typescript#4d85404 |
typescript-eslint-parser |
21.0.2 (automatically installed) |
typescript |
(not installed) |
Should typescript
be a peer dependency?