eltaco
Joined 14 years ago
Joined 14 years ago
http://babeljs.io/repl/#?experimental=false&evaluate=true&lo...
Although it isn't unique for all the features listed, as JSCS has the same things: an autoconfigure feature, built-in (as well as user created) presets/configs, multiple formatters, custom plugins/rules, custom parsers (esprima/espree/babel), autofixing of almost all rules. Hopefully both projects can benefit or integrate better together more in the future? (I contribute to both!)
I think autofixing for all rules (maybe with https://github.com/cst/cst) would be a nice goal for the future when thinking about the next-generation of linters. Making it easier to update configs when new rules/options are added would be nice as well.
JSCS [3] added autofixing a while back for most whitespace rules, and ESLint has just begun autofixing as well [4]
[1] http://jsbeautifier.org/ [2] https://github.com/rdio/jsfmt [3] http://jscs.info/ [4] https://github.com/eslint/eslint/pull/3635
[1]: https://github.com/babel/babel/issues/1828 [2]: https://github.com/babel-plugins/babel-plugin-dead-code-elim...
Also there's an autofix feature for most of the whitespace rules (`jscs src --preset=airbnb --fix`) so you won't have to fix everything manually.
There's an annotated source for underscore: http://underscorejs.org/docs/underscore.html.
There's also just implementing data structures/algs: https://github.com/felipernb/algorithms.js
http://vimeo.com/94259578 (2014) http://www.gdcvault.com/play/1014982/ (2011)
If anyone likes game talks then check a repo I made https://github.com/hzoo/awesome-gametalks
An example for jquery style commits is https://www.npmjs.com/package/commitplease