Use the unified linter CLI, UI and API, to run the different linters your workspace components use.
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 
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 