Code Monkey home page Code Monkey logo

Comments (10)

weeellz avatar weeellz commented on June 5, 2024 2

@quasilyte, ok, i'll do it.

from go-critic.

quasilyte avatar quasilyte commented on June 5, 2024

You mean including gometalinter into CI checks?

from go-critic.

fexolm avatar fexolm commented on June 5, 2024

@quasilyte no. I mean we could find github app, that will run gometalinter on our code.

from go-critic.

quasilyte avatar quasilyte commented on June 5, 2024

Ah, I see.

from go-critic.

weeellz avatar weeellz commented on June 5, 2024

There is no github apps with enough checks(or free), so i'll add gometalinter and goreportcard in Travis.

from go-critic.

quasilyte avatar quasilyte commented on June 5, 2024

so i'll add gometalinter and goreportcard in Travis.

@weeellz, that's quite brutal.

I've seen some minor issues like typos in comments like this:

// WarkingKind describes checker warning category.
// Useful for checkers that can find different kinds of issues.
//
// Should be human-readable, not cryptic.
type WarningKind string

Note WarkingKind (typo).

Our build will break if someone will not fix all of them.
Could you fix these places along with CI script changes?

from go-critic.

quasilyte avatar quasilyte commented on June 5, 2024

Just a reminder: everything under testdata should not be linted during CI.
It's checked by gofmt -s -d now, but really shouldn't.

from go-critic.

weeellz avatar weeellz commented on June 5, 2024

@quasilyte, i don't quite understand second problem.

from go-critic.

quasilyte avatar quasilyte commented on June 5, 2024

Currently, we have this CI step:

diff -u <(echo -n) <(gofmt -d -s .)

The problem is that it also checks testdata it shouldn't.
And if new checks are added, they should not touch testdata, because it will trigger a lots of warnings which we don't want to fix.

from go-critic.

weeellz avatar weeellz commented on June 5, 2024

Done in #28.

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.