The naming of the eslint-plugin seems to be incorrect #92
Labels
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
triage
Waiting for team members to take a look
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
@typescript-eslint/eslint-plugin
0.2.1
@typescript-eslint/parser
0.2.1
typescript
0.2.1
The text was updated successfully, but these errors were encountered: