Code Monkey home page Code Monkey logo

Comments (5)

Ric137k avatar Ric137k commented on September 24, 2024 47

Do you have a for instance a Seq in your code where the last entry is followed by a , ?

from scalastyle-sbt-plugin.

edgartanaka avatar edgartanaka commented on September 24, 2024 29

Such a terrible error message.

from scalastyle-sbt-plugin.

rulle-io avatar rulle-io commented on September 24, 2024 8

Yes, I have a similar issue and the reason was a List() with a trailing comma (last symbol, not followed by an element).
However, it is pity that error log print doesn't contain any location info (line number or function name).

from scalastyle-sbt-plugin.

khatkar avatar khatkar commented on September 24, 2024 1

[error] /home/pozharko/Code/ergo/ergo/src/main/scala/org/ergoplatform/nodeView/ErgoReadersHolder.scala: expected start of definition, but was Token(VAL,val,596,val)

Scalastyle is failing with above error.

from scalastyle-sbt-plugin.

matthewfarwell avatar matthewfarwell commented on September 24, 2024

The Scalastyle task has a non-zero exit code when it finds an error. You have one error, which looks like a parse error. If you don't want scalastyle to fail on error, set the scalastyleFailOnError setting to false.

from scalastyle-sbt-plugin.

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.