GithubHelp home page GithubHelp logo

gci error not clear about gci HOT 5 CLOSED

daixiang0 avatar daixiang0 commented on September 26, 2024 1
gci error not clear

from gci.

Comments (5)

ngehrsitz avatar ngehrsitz commented on September 26, 2024 1

@georgettica The error reporting in gci is an area that could definitely improved. Until that happens I would recommend that you run gci in write mode to see what output gci expects.

from gci.

KenjiTakahashi avatar KenjiTakahashi commented on September 26, 2024

I've just added gci to my golangci-lint config and immediately got a bunch of errors like this:

Expected 'u', Found '"' at user.go[line 27,col 2]
Expected 'g', Found 'b' at processor.go[line 9,col 3]
Expected '"', Found 's' at main.go[line 10,col 2]

Etc.

It could really use a more readable error message, at first I thought the integration is just broken.

from gci.

georgettica avatar georgettica commented on September 26, 2024

I can also say rust is doing this very good for semicolon position.
It literally shows in the error message where you should add it

from gci.

daixiang0 avatar daixiang0 commented on September 26, 2024

You can try latest version :)

from gci.

georgettica avatar georgettica commented on September 26, 2024

I will do that soon and report back, thanks!

from gci.

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.