[PR #13322] [MERGED] all: restore previous rules in golangci-lint behavior while keeping v2 #40038

Closed
opened 2026-04-23 01:02:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13322
Author: @jmorganca
Created: 12/4/2025
Status: Merged
Merged: 12/4/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/lint


📝 Commits (1)

  • be3a52e all: restore previous rules in linter

📊 Changes

2 files changed (+28 additions, -53 deletions)

View changed files

📝 .golangci.yaml (+24 -49)
📝 api/examples/chat/main.go (+4 -4)

📄 Description

A few new PRs are getting stuck on the new lint rules. While good, we should run them on the existing code before adding to CI since it's easy to make a small modification then be responsible for a much larger change


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13322 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 12/4/2025 **Status:** ✅ Merged **Merged:** 12/4/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/lint` --- ### 📝 Commits (1) - [`be3a52e`](https://github.com/ollama/ollama/commit/be3a52e64a0db9bbda589dc3254ab546201bfbf1) all: restore previous rules in linter ### 📊 Changes **2 files changed** (+28 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `.golangci.yaml` (+24 -49) 📝 `api/examples/chat/main.go` (+4 -4) </details> ### 📄 Description A few new PRs are getting stuck on the new lint rules. While good, we should run them on the existing code before adding to CI since it's easy to make a small modification then be responsible for a much larger change --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 01:02:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#40038