Comments (5)
I'm sorry, I don't think it makes sense to add these to the default configuration, as this practice wouldn't be scalable for all the libraries out there.
Yes, you need to add the defaults yourself if you are going to configure it. This enables people to easily override the default set.
from wrapcheck.
G'day @1995parham, would you be able to describe better the issue you're having? Currently your request is a little vague.
from wrapcheck.
Sure, for example on gofiber we have:
app.Get("/", func(c *fiber.Ctx) error {
return c.SendString("Hello, World 👋!")
})
I think, it doesn't a good idea to wrap its error.
from wrapcheck.
You should already be able to have wrapcheck refrain from reporting errors like this using the configuration parameters. Is that not working for you?
from wrapcheck.
Yes, exactly we are using that configuration. The only issue is about for us to repeat the default values too. So if we can somehow add these into the defaults or append the configuration to them it would be great.
from wrapcheck.
Related Issues (20)
- Was v1.0.0 republished? HOT 3
- Linter triggers on wrapper functions HOT 3
- false positive messages with using of github.com/pkg/errors HOT 1
- Named return values not reported HOT 3
- New release? HOT 5
- False-positive for anonymous functions HOT 2
- Great linter! Just one question about %w vs %v HOT 7
- Flag to ignore main module
- wrapcheck: internal error: package "..." without types was imported from "..." HOT 2
- Embedded interfaces are hard to ignore
- wrapcheck: Unexpected package creation during export data loading HOT 1
- Support Gorm-style error checking HOT 3
- ignorePackageGlobs doesn't appear to be working HOT 9
- wrapcheck on goerr113 wrapping %w HOT 5
- Incorrect alert on io.Reader implementation HOT 5
- false positive messages on legal errors from the same file HOT 4
- Integrate wrapcheck to golangci-lint ? HOT 1
- Proposal: ignore returning value of specify package's function HOT 13
- Support for errors.Wrap(f) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wrapcheck.