Linter Integration Arrives in Copilot Code Review Public Preview
Allison details the new GitHub Copilot code review integration with linters, showing how static analysis tools like ESLint, PMD, and CodeQL provide actionable feedback and explaining repository-level configuration.
Linter Integration with Copilot Code Review: Public Preview
GitHub Copilot code review now enhances pull request feedback by integrating industry-standard linters, making it easier to catch minor issues automatically. This public preview allows paid GitHub users to receive actionable suggestions for code improvements from linters and to control which static analysis tools are active through repository rulesets.
New Static Analysis Tools Supported
Alongside the default CodeQL integration (announced at GitHub Universe 2025), Copilot code review now supports:
- ESLint: Catches syntax, style, and programming issues in JavaScript and TypeScript projects.
- PMD: Scans for problems in Java, Apex, and other supported languages.
These tools complement CodeQL’s security and quality checks, offering a more comprehensive review workflow.
Customizing Linters via Repository Rulesets
A new repository-level rule, “Manage static analysis tools in Copilot code review,” lets administrators select which linters to enable:
- Enable/disable CodeQL, ESLint, or PMD as needed.
- Apply settings at various scopes: Enterprise, Organization, Team, or Repository level.
- Fine-tune coverage to target specific branches and repositories.
Steps to Configure Linters
- Navigate to Settings: In your repository, go to Settings > Rules > Rulesets.
- Edit or Add a Ruleset: Select the “Manage static analysis tools in Copilot code review” rule.
- Choose Tools: Specify whether to activate ESLint, PMD, or leave CodeQL enabled by default (note: CodeQL can now be disabled for the first time).
- Save and Test: Save the ruleset, then open a new pull request to experience the updated Copilot code review, complete with custom linter feedback.
For more information, see the GitHub documentation.
Join the community conversation on Copilot Conversations to share your experience or ask questions.
Disclaimer: UI and available features in public preview may change before general release.
This post appeared first on “The GitHub Blog”. Read the entire article here