Check Your GitHub Commits with P42+

Lars Grammel
Lars Grammel
Published on March 09, 2021

Modernizing the code in your JavaScript repository is only the first step in maintaining a modern codebase. It is equally important to make sure that the new code follows best practices as well.

P42 now makes this easier by reporting check results for new commits directly in GitHub. You can enable commit checks per analysis:

Enable P42+ Commit Checks

Once the commit checks are enabled, they will run on new commits to the default repository branch:

GitHub Checks Passing

When there are suggestions, the checks are marked as failed. The check details then contain more information about the refactoring and the suggestions, including diffs.

The P42 commit check integration into GitHub makes it easy for you to know about any modernization regressions in your code. Give it a try!