-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why? #1
Comments
This project will always be running to catch up with |
@ryanpcmcquen really good question! ❓ Review of the issues on GitHub https://github.com/reid/node-jslint/issues indicates that issues are not resolved particularly quickly. I guess we could help remedy that by submitting PRs to fix issues ... however its unclear those PRs would be merged/accepted as a quick glance at https://github.com/reid/node-jslint/pulls (old/stale PRs) suggests there isn't a clear process for contributing to the project ... Reading through the issues we note that linter warnings are non-sequential; that would drive me nuts: reid/node-jslint#128 (looks like they are going to fix it in the "next re-write"... but when is that...?) I'm approaching this mini-investigation from a "will this save us a ton of effort" perspective, and I think further investigation is still required, but on the surface I'm going to have to disagree that we would be "running to catch up with A re-read of http://jslint.com/help.html >> If you don't mind me asking, what is your preferred method for linting your JS projects? 😊 |
Ok #190 opened with a proposed solution to cover this formed. |
Well, I used standard JSLint for quite a while. There's a great Atom plugin that follows upstream closely: https://atom.io/packages/linter-jslint I would put this at the top of files:
These days I only use Flow, since most linters do not support/endorse functional programming. Also, I kind of fell out of love with ESLint's creator when he advocated against the GPL here: |
@ryanpcmcquen thanks for sharing! its a shame that linters don't support FP. 😞 |
A pretty good answer given in another repo that I wanted to make sure wasn't lost here: dwyl/learn-tdd#72 |
No Code Style or Linter I have looked at is "perfect".
If I were to pick one it would be JSLint but its just not "fun" to use. (we have tried ... you end up having to include way too much config/comment per file)
"Standard" makes many assumptions and is opinionated without _Empirical Evidence_
(though I take my hat off to Feross for calling his style guide "_Standard_", of course he did not _invent_ *calling something "standard" in order to achieve the perception of quality... Standard Oil, Standard Life, Standard Motor Company... the list is endless ... and its been good marketing both for him and his other projects.)
Another option could be AirBnB JavaScript Style Guide but again, it's packet with opinion and light on "why".
So, instead of going on the opinions of the crowd, I propose that we leverage the experience of the person who knows more about JavaScript and crucially has more large scale production experience than anyone else.
The text was updated successfully, but these errors were encountered: