ESlint is used as the default linter in Bit's official envs. To learn how to use ESLint in an env that uses a different linter, see ESLint configuration.
ESLint uses the same standard commands used by all linters.
Run the following to lint all components in your workspace:
$bit lint 
Run the following to lint only new or modified components in your workspace:
$bit lint --changed 
Run the following to lint a specific component:
$bit lint ui/text 
Run the following to lint and fix detected issues:
$bit lint --fix 
Run the following to lint and fix detected issues of a certain type (problem, suggestion, layout):
$bit lint --fix-type problem 
Run the following to lint during the build process (assuming your build pipeline has a linter task):
$bit build 