Code Monkey home page Code Monkey logo

Comments (4)

quasilyte avatar quasilyte commented on September 25, 2024 2

warnings tend to get ignored and some tools end up having 10+ warnings printed out for no reason.

I like the idea that requesting something that does not exist is an error. We can disagree on that one if you would like.

For me, the main problem is the checker being removed. We usually don't do that.

And if we do, it's usually a checker that was marked with an experimental tag.
If users rely on experimental checkers stay forever - it's outside of the backward compatibility promises.

404c56b#diff-389d96f065f3108bd8fbfd7a928e9c9b81f4f5f308a021fc539fc09a49345763L789

The checker you've mentioned was experimental.
If think it's fair to say that experimental stuff can break.

Unless we remove the experimental tag, the checker is basically in its public testing phase.
You may use it if you find it useful, but we still have some freedom in making changes and/or removing it.

from go-critic.

cristaloleg avatar cristaloleg commented on September 25, 2024

Yeah, kinda make sense. Sorry for that. Wanna make a PR ? 😉

from go-critic.

ehsundar avatar ehsundar commented on September 25, 2024

How can I reproduce this fault @natefinch?

$ ./bin/gocritic check -disable 'ehsandar,offBy1,dummyName,#dummyTag' -enable 'offBy1' ./...
[offBy1]
[ehsandar offBy1 dummyName #dummyTag]
init checkers: empty checkers set selected

from go-critic.

natefinch avatar natefinch commented on September 25, 2024

I was running gocritic via golangci-lint, so I am not sure how to do it via gocritic itself, but I just had sloppyTestFuncName configured to be disabled. Ironically, I realize now that we had also removed experimental checkers from our list of enabled categories, so it was redundant to have it in the disabled list.

from go-critic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.