Comments (14)
Unrelated but how about us just switching to ESLint? We made the switch at generator-gulp-webapp as well.
from generator-node.
JSCS is not the same as ESLint. It parse code style, not linting.
from generator-node.
ESLint checks both code style and linting.
from generator-node.
ESLint checks both code style and linting.
Yes.
from generator-node.
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.
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.
I'm +1 to switching to ESLint where possible. Also other generators please. JSHint and JSCS aren't stable too.
from generator-node.
@robbbz Want to work on a PR for this one?
from generator-node.
@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.
I will do that.
from generator-node.
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.
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.
@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.
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)
- Release new version of generator-node HOT 10
- [FEAT] Git hooks HOT 1
- eslint still failing
- [FEAT] Use yarn by default HOT 3
- Remove `--ignore-path` option in ESLint npm script HOT 3
- [Bug] Freezes when using node 8.1.0 HOT 2
- jest test for node 4 failed with error HOT 3
- npm install failed due to nsp check HOT 1
- Allow using scoped package names HOT 3
- Usage behind proxy HOT 5
- cannot replace 'pretest' script. HOT 4
- The Node Security Platform service is shutting down 9/30/2018 HOT 1
- TypeError: Cannot read property '0' of undefined HOT 4
- question: husky config not in generated package.json but it is devDependencies HOT 1
- suggestion:provider option installer and skipInstallSilent
- using yarn HOT 2
- Getting error while running yo node
- --skip-install not working
- Update dependencies to latest versions
- `generator.run is not a function` when i use [email protected] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-node.