-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
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
Labels
No labels