← Back to issue list

Use Craft Application's Linter Service

View original Github issue

Metadata

Project
snapcraft
Number
#5971
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Refactor
Created
2026-01-21 18:16:46+00:00
Updated
2026-01-21 18:18:25+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Migrate to the Linter Service as implemented at https://github.com/canonical/craft-application/issues/782 * All linters are implementations of the Craft Application class * The lint command uses the LinterService * Any other uses of linters use the LinterService ### The problem it solves Snapcraft and Charmcraft lint snaps and charms respectively at the end of the lifecycle. These linters don’t share common code and don’t have a similar UX. Additionally, there isn’t a way to add linters to other *craft apps without significant code duplication. Supersedes #5542

Evaluation history

No evaluation history available.