eslint
Linting is done by Webpack also in production mode. You only need this process to manually run linting, or run it's
fixcommand for example.
Default command
eslint ./src/**/*.{js,jsx,ts,tsx}CLI Options
https://eslint.org/docs/user-guide/command-line-interface
Examples
Default CLI
mhy eslintOnly lint one file
mhy eslint src/file.jsFix fixable errors
mhy eslint --fixLast updated
Was this helpful?