Returns the string for the bash command to run eslint with the project's configuration. And optional fix option set to true may be given to attempt fixing all errors instead of just reporting them.
fix
eslint({files: './src/** /*' }) Copy
eslint({files: './src/** /*' })
eslint({ files: './src/** /*', fix: true }) Copy
eslint({ files: './src/** /*', fix: true })
The options applied when running eslint.
The bash command string.
Returns the string for the bash command to run eslint with the project's configuration. And optional
fix
option set to true may be given to attempt fixing all errors instead of just reporting them.Example
Example