Closed
Description
The documentation for the eslint-plugin still uses "plugins": ["typescript"]
for the import staatement and "typescript/rule-name": "error"
for using the rules. However, with the current package name of @typescript-eslint/eslint-plugin
, this does not work.
The import statement should be "plugins": ["@typescript-eslint/eslint-plugin"]
and the rule usage would be: "@typescript-eslint/rule-name": "error"
.
That being said, ESLint seemss to be opinionated about package naming. According to their documentation, the package should be named @typescript-eslint/eslint-plugin-typescript
or something similar. (@<scope>/eslint-plugin-<plugin-name>
).
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
0.2.1 |
@typescript-eslint/parser |
0.2.1 |
typescript |
0.2.1 |
Metadata
Metadata
Assignees
Labels
Issues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginWaiting for team members to take a lookWaiting for team members to take a look