Comments (1)
Hello,
I found the problem, I will fix it.
As a temporary workaround, you can remove the nolint
directive and use the exclude-rules
issues:
exclude-rules:
- path: path/to/a/file.go
text: "don't use `init` function"
from golangci-lint.
Related Issues (20)
- Offline config validation HOT 2
- New errors when upgrading bumping google.golang.org/protobuf from 1.31.0 to 1.33.0 in argo workflow related code HOT 2
- Custom plugin version is not actually supported HOT 1
- linters_context generating typechecking error about malformed import path for files and folders in issues.exclude-dirs HOT 5
- staticcheck: unhandled type *ir.ArrayConst HOT 5
- --out-format no longer overrides output->format in config file HOT 2
- Hope to add detection of overflow during integer conversion HOT 1
- staticcheck has false positives HOT 2
- docs: support sorting / filtering linters table HOT 2
- typecheck: lacks support of import path with version suffix (gopkg.in/yaml.v3) HOT 6
- Could not find file '/tmp/golangci-lint-action-problem-matchers.json' HOT 21
- plugins: support passing environment variables for the custom command HOT 4
- with directive go 1.22.3 in go.mod docker golangci-lint failed HOT 1
- Intrange: panic HOT 3
- Support go.work file HOT 5
- Warning for option that has not been set (`linters.errcheck.ignore`) HOT 7
- gosec: impact on performances (v1.58.2) HOT 1
- WARN The linter 'gomnd' is deprecated (since v1.58.0) due to: The linter has been renamed. Replaced by mnd. HOT 5
- golangci-lint v1.58.2 Spurious message reported when run HOT 4
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 golangci-lint.