[PR #5422] [MERGED] refactor: replace lint to revive #17789

Closed
opened 2025-11-02 15:48:29 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5422
Author: @appleboy
Created: 11/28/2018
Status: Merged
Merged: 12/3/2018
Merged by: @techknowlogick

Base: masterHead: revive


📝 Commits (2)

📊 Changes

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

View changed files

.revive.toml (+25 -0)
📝 Makefile (+3 -3)

📄 Description

lint time

$ time make lint
real    0m7.953s
user    0m5.928s
sys     0m2.129s

revive time

$ time make revive
revive -config config.toml -exclude=./vendor/... ./... || exit 1

real    0m5.179s
user    0m8.248s
sys     0m1.785s

🔄 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/go-gitea/gitea/pull/5422 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 11/28/2018 **Status:** ✅ Merged **Merged:** 12/3/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `revive` --- ### 📝 Commits (2) - [`5d52ec1`](https://github.com/go-gitea/gitea/commit/5d52ec1a689c1dc18d5cb9dd64fba16894ba7b30) refactor: replace lint to revive - [`8f2247d`](https://github.com/go-gitea/gitea/commit/8f2247df10e34850d2990ce8c5a057ac30a04dd0) make changes. ### 📊 Changes **2 files changed** (+28 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `.revive.toml` (+25 -0) 📝 `Makefile` (+3 -3) </details> ### 📄 Description ## lint time ``` $ time make lint real 0m7.953s user 0m5.928s sys 0m2.129s ``` ## [revive](https://github.com/mgechev/revive) time ``` $ time make revive revive -config config.toml -exclude=./vendor/... ./... || exit 1 real 0m5.179s user 0m8.248s sys 0m1.785s ``` --- <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 2025-11-02 15:48:29 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17789