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
This can be used to highlight linter issues directly in the source.
Popular tools like eslint and biome support it and it looks like this:
Integration is fairly simple as it just requires printing special commands to stdout. To avoid breaking changes, biome is checking for the env var GITHUB_ACTIONS. If it's present and its value is true, then additional annotations are emitted.
I think it would be nice if phan would support this as well. I've built the support for biome and if its a feature you'd deem worth supporting, I'd volunteer to implement it for phan as well.
GitHub actions supports putting annotations in source files during a CI run:
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
This can be used to highlight linter issues directly in the source.
Popular tools like eslint and biome support it and it looks like this:
Integration is fairly simple as it just requires printing special commands to stdout. To avoid breaking changes, biome is checking for the env var
GITHUB_ACTIONS
. If it's present and its value istrue
, then additional annotations are emitted.I think it would be nice if phan would support this as well. I've built the support for biome and if its a feature you'd deem worth supporting, I'd volunteer to implement it for phan as well.
Edit:
I've created a plugin that adds support:
https://gist.github.com/nikeee/c2107b3e3d30ec8100b9fa83f1e2f4ac
Is this something that aligns with the project's goal?
The text was updated successfully, but these errors were encountered: