sarbbottam / eslint-find-rules

Find built-in ESLint rules you don't have in your custom config
http://npm.im/eslint-find-rules
MIT License
206 stars 36 forks source link

No Option Provided with `--option` described in docs #347

Open ProfessorManhattan opened 1 year ago

ProfessorManhattan commented 1 year ago

Hey, I tried to run this CLI from the root directory of my shared configuration after installing it as a devDependency and adding it to my scripts. Here's the output I get when it runs:

❯ npm run find

> eslint-config-strict-mode@1.2.1 find
> eslint-find-rules --option dist/main.js

no option provided, please provide a valid option
usage:
eslint-find-rules [option] <file> [flag]

Any idea on what I should do to get it working?

ta2edchimp commented 1 year ago

Do you use an actual option or --option?
The latter is only used as a placeholder within docs and must be substituted with one of the following:

-a|--all-available, -c|--current, -d|--deprecated, -p|--plugin, -u|--unused