Skip to content
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
@j-f1

Description

@j-f1

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?

Metadata

Metadata

Assignees

Labels

discussionissues that exist purely for discussion purposesdocumentation

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions