jscs just published its new version 3.0.0, which is not covered by your current version range.
If this pull request passes your tests you can publish your software with the latest version of jscs – otherwise use this branch to work on adaptions and fixes.
Hell yeah! 3.0 is here. First and foremost we rewrote every... single... rule. We fixed a plentiful amount of bugs (most of which were found during refactoring those rules using CST). This provides us the opportunity to include autofix for complicated rules like the brand new disallowUnusedVariables rule (see below).
Breaking Changes
If you aren't a plugin writer or support build extensions (like grunt or gulp), etc you don't have to worry about anything.
We didn't rename any of the rules or remove any of the deprecated rule values; it is all still there. All you have to do to update is just bump the jscs version in your package version to 3.0.0 and be done with it.
One thing to notice though: the yandex preset was removed. Since Yandex doesn't have official code style (don't look at the https://github.com/ymaps/codestyle), we were requested to remove it
One drawback from all these changes is that JSCS might be a little, just a little slower, so if you find any issues related to that - don't hesitate to drop us a line, or just drop us a line we are all friendly :).
New rules
Since this release is about rewrite of internal design, we adding only four new rules (all of them were added by our contributors!).
That rule useful when you have var x = <whatever> and you don't export that x and don't use it. This rule will highlight that and remove it if you want.
Hello :wave:
:rocket::rocket::rocket:
jscs just published its new version 3.0.0, which is not covered by your current version range.
If this pull request passes your tests you can publish your software with the latest version of jscs – otherwise use this branch to work on adaptions and fixes.
Happy fixing and merging :palm_tree:
GitHub Release
Version 3.0.0 (2016-04-14):
Hell yeah! 3.0 is here. First and foremost we rewrote every... single... rule. We fixed a plentiful amount of bugs (most of which were found during refactoring those rules using CST). This provides us the opportunity to include autofix for complicated rules like the brand new
disallowUnusedVariables
rule (see below).Breaking Changes
If you aren't a plugin writer or support build extensions (like grunt or gulp), etc you don't have to worry about anything.
We didn't rename any of the rules or remove any of the deprecated rule values; it is all still there. All you have to do to update is just bump the
jscs
version in yourpackage
version to3.0.0
and be done with it.One thing to notice though: the
yandex
preset was removed. Since Yandex doesn't have official code style (don't look at the https://github.com/ymaps/codestyle), we were requested to remove itOne drawback from all these changes is that JSCS might be a little, just a little slower, so if you find any issues related to that - don't hesitate to drop us a line, or just drop us a line we are all friendly :).
New rules
Since this release is about rewrite of internal design, we adding only four new rules (all of them were added by our contributors!).
disallowUnusedVariables
by Brian SchempThat rule useful when you have
var x = <whatever>
and you don't export thatx
and don't use it. This rule will highlight that and remove it if you want.disallowSpacesInsideImportedObjectBraces
andrequireSpacesInsideImportedObjectBraces
by Maks SadowskyWhen you need or don't need additional parentheses -
requireUseStrict
Erik VoldShort and cool - ask you to use
"use strict"
pragma on top of the file if you so desire.requireImportsAlphabetized
by Ray HammondKeeps your imports alphabetized, pretty handy way to keep your dependency in tidy state.
The new version differs by 213 commits (ahead by 213, behind by 37).
c3a5e8a
3.0.0
743dd8c
Misc: add 3.0.0 changelog
7cfe388
Tests: one last improvement to generator tests
e005fd3
Misc: make linters happy
a855828
Tests: remove unstable generator test and re-enable it
86be5b5
Tests: skip the generator tests
291bb41
Docs: remove leftover of yandex preset
90fae1a
[Perf] Reduce location computations
4bd3800
[Fix] Parsing errors
5b6f8de
[Fix] Parsing errors
4517263
[Fix] Keywords in identifiers
c82294f
[Fix] Unskip generator tests
b09ef84
[Fix] Remaining style issues
9ce5130
[Fix] JsDoc plugin dep
db5b76c
[Fix] Error fixes
There are 213 commits in total. See the full diff.
This pull request was created by greenkeeper.io. It keeps your software up to date, all the time.
Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster :zap: