Skip to content

Proposal: Custom Linter#190

Open
GaballaGit wants to merge 1 commit into
mainfrom
proposal/custom-linter
Open

Proposal: Custom Linter#190
GaballaGit wants to merge 1 commit into
mainfrom
proposal/custom-linter

Conversation

@GaballaGit
Copy link
Copy Markdown
Member

Hello, I was messing around with go/ast and had an idea we could make a custom linter for our project.

Why?

A custom linter can be useful for our projects to enforce architectural rules, for example here in this proposal I am enforcing the rule of no dbmodel imports in the api handlers. I think this will help future contributors follow architectural rules that they may not be aware off by getting caught in the ci first and reading about it possibly. The ci will fail if merged, which means it is currently working as intended.

It's pretty messy right now in the proposal state, but I want to put the idea out there for you all. Feel free to leave thoughts/comments/questions about it, Ill answer them.

@GaballaGit GaballaGit force-pushed the proposal/custom-linter branch from 5178ee3 to 246f818 Compare May 22, 2026 11:54
@github-actions
Copy link
Copy Markdown

godoc reference preview ready ✨
Go Documentation

@TheJolman
Copy link
Copy Markdown
Collaborator

Sounds cool, ima take a look. If it's not too hard to implement maintain would be a good addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants