Skip to content

Publish on npm as eslint-formatter-friendly ? #34

@InvictusMB

Description

@InvictusMB

Eslint recently became smarter in resolving plugin names so if this package is published with their naming convention (e.g. prefixed with eslint-formatter-) it would make the CLI usage less verbose.

Before:
"eslint": "eslint --format 'node_modules/eslint-friendly-formatter' file1 file2 dir1/ dir2/"

After:
"eslint": "eslint --format friendly file1 file2 dir1/ dir2/"

It is especially helpful in lerna managed repositories as the script there is even more ugly for nested packages:
"eslint": "eslint --format '../../node_modules/eslint-friendly-formatter' file1 file2 dir1/ dir2/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions