Code Monkey home page Code Monkey logo

Comments (14)

arthurvr avatar arthurvr commented on June 16, 2024

Unrelated but how about us just switching to ESLint? We made the switch at generator-gulp-webapp as well.

from generator-node.

SBoudrias avatar SBoudrias commented on June 16, 2024

JSCS is not the same as ESLint. It parse code style, not linting.

from generator-node.

stevemao avatar stevemao commented on June 16, 2024

ESLint checks both code style and linting.

from generator-node.

arthurvr avatar arthurvr commented on June 16, 2024

ESLint checks both code style and linting.

Yes.

from generator-node.

SBoudrias avatar SBoudrias commented on June 16, 2024

I know we dropped ESLint on yeoman-generator, because it kept breaking our Travis integration because breaking linting rules were changing in minor release.

If you think it's more stable now (I don't think so), feel free to give it a try.

from generator-node.

arthurvr avatar arthurvr commented on June 16, 2024

Well, do we even have much of a choice? JSCS doesn't even support ES2015 syntax completely.

If you think it's more stable now (I don't think so), feel free to give it a try.

It's getting better and better daily from what I can tell.

from generator-node.

robbbz avatar robbbz commented on June 16, 2024

I'm +1 to switching to ESLint where possible. Also other generators please. JSHint and JSCS aren't stable too.

from generator-node.

SBoudrias avatar SBoudrias commented on June 16, 2024

@robbbz Want to work on a PR for this one?

from generator-node.

arthurvr avatar arthurvr commented on June 16, 2024

@robbbz that would be awesome!

because it kept breaking our Travis integration because breaking linting rules were changing in minor release.

By the way, ESLint is still at 0.x.x versions so that's perfectly valid.

from generator-node.

robbbz avatar robbbz commented on June 16, 2024

I will do that.

from generator-node.

SBoudrias avatar SBoudrias commented on June 16, 2024

By the way, ESLint is still at 0.x.x versions so that's perfectly valid.

That's not valid as it meant breaking changes where release in patches.

from generator-node.

robbbz avatar robbbz commented on June 16, 2024

Is JSCS/JSHint support still meant to be optional or do we just use ESLint?

because it kept breaking our Travis integration because breaking linting rules were changing in minor release.

In minor bumps they can introduce breaking changes according to semantic versioning. You can read the specification on it on this website: http://semver.org/.

from generator-node.

SBoudrias avatar SBoudrias commented on June 16, 2024

@robbbz I was specifically speaking about patches versions. If things broke after we bump a version, that's fine. They were breaking when we just re-run our tests (so no version change on our side).

If we go with ESLint, we go all the way (so dropping jshint and jscs)

from generator-node.

robbbz avatar robbbz commented on June 16, 2024

I was specifically speaking about patches versions. If things broke after we bump a version, that's fine. They were breaking when we just re-run our tests (so no version change on our side).

Oh okay. I believe it's better now though. Also I think you won't disagree that JSHint and JSCS aren't a good solution too.

If we go with ESLint, we go all the way (so dropping jshint and jscs)

I'll keep that in mind.

from generator-node.

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.