sajad torkamani
On this page

Lint

Syntax:

<eslint-binary> --rule <rule-name>:<severity> <files>

Example:

npx eslint --rule simple-import-sort/imports:error src

Fix

Syntax:

<eslint-binary> --rule <rule-name>:<severity> <files>

Example:

npx eslint --rule simple-import-sort/imports:error src --fix

Leave a comment

Your email address will not be published. Required fields are marked *