eslint --fix is capable of fix it automatically for you, ensure prettier is run after eslint as eslint --fix could leave the code in an invalid prettier state. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| jobs/regular | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| plugin.rb | ||
eslint --fix is capable of fix it automatically for you, ensure prettier is run after eslint as eslint --fix could leave the code in an invalid prettier state. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| jobs/regular | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| plugin.rb | ||