Skip to content

The naming of the eslint-plugin seems to be incorrect #92

Closed
@jimjenkins5

Description

@jimjenkins5

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

No one assigned

    Labels

    package: eslint-pluginIssues related to @typescript-eslint/eslint-plugintriageWaiting for team members to take a look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions