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. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| discourse/templates | ||
| initializers | ||
| lib | ||
| widgets | ||
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. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| discourse/templates | ||
| initializers | ||
| lib | ||
| widgets | ||