Improved linting & formatting support for developers #2425
Labels
documentation
Creating and enhancing app documentation
enhancement
good first issue
A good place to start contributing to MetacatUI!
Priority: Low
Linting & formatting is implemented in #2412. GitHub actions were added and the CONTRIBUTING docs updated to help developers adopt the code standards, however, there are more improvements we could make in this regard.
Ideas for potential improvements:
Add instructions on how to integrate prettier & eslint with common IDEs in CONTRIBUTING.md, e.g. from @ianguerin:
Consider including shareable vscode config in the repo
Improve GitHub actions to include job summaries and better PR comments *
Pre-commit hooks (with warnings)
Correct format automatically with prettier (e.g. use github actions to commit formatting corrections when needed)
* I started working on improved GitHub actions during #2412, but opted to keep it simpler for the first release instead. Here is the WIP code in case it can be put to use:
💻 Github actions snippet to create markdown summary & custom PR comment [WIP]
WIP Markdown templates referenced by the above GitHub Actions snippet:
pr-comment-guidance.md
pr-comment-confirmation.md
format-test-lint-summary.md
The text was updated successfully, but these errors were encountered: