You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already a Eslint configuration file: .eslintrc. It would be nice to use the linter to have a good code style. To not always run it yourself it could be integrated into the CI workflow. But then you must fix the issues by yourself and the build fails. It would be better to let Eslint fix the issues automatically in CI and push those changes directly back into the repo. Full automation.
If this sounds nice a couple of changes must be done. Two scripts in package.json must be added. One to fix the issues and one check code style after the fix to validate that there are no issues left. Also integration into CI (both .yml files). And a change to the repo settings. To let the Action Bot directly push into the repo, this must be enabled in the settings: Actions > General > Workflow permissions to Read and Write permissions:
The text was updated successfully, but these errors were encountered:
There is already a Eslint configuration file:
.eslintrc
. It would be nice to use the linter to have a good code style. To not always run it yourself it could be integrated into the CI workflow. But then you must fix the issues by yourself and the build fails. It would be better to let Eslint fix the issues automatically in CI and push those changes directly back into the repo. Full automation.If this sounds nice a couple of changes must be done. Two scripts in
package.json
must be added. One to fix the issues and one check code style after the fix to validate that there are no issues left. Also integration into CI (both .yml files). And a change to the repo settings. To let the Action Bot directly push into the repo, this must be enabled in the settings: Actions > General > Workflow permissions to Read and Write permissions:The text was updated successfully, but these errors were encountered: