Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello π
πππ
jscs just published its new version 2.11.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 π΄
GitHub Release
Version 2.11.0 (2016-03-01):
Spring release! Although we know that techinically spring only comes in middle of the March (you nerds), were coming to you a bit earlier!
Anyways, there are three new rules, a couple of changes for the
airbnb
preset and important fixes fordisallowSpacesInsideTemplateStringPlaceholders
andvalidateQuoteMarks
(for all you ES7 lovers).New Rules
requireSpaceBeforeDestructuredValues
by Maks SadowskyEnforces colon spacing after destructuring assignment i.e.
requireSpaceBeforeObjectValues
but for destructuring.disallowArrayDestructuringReturn
by Maks SadowskyEnforces the 5:3 verse of airbnb code style, which prohibits use of array destructuring for thy
CallExpressions
.requireNewlineBeforeSingleStatementsInIf
by Brian SchempEnforces using newlines in your parenthesesless code.
Presets
requireCamelCaseOrUpperCaseIdentifiers
in airbnb (Oleg Gaidarenko)disallowArrayDestructuringReturn
to airbnb preset (Maks Sadowsky)Bug fixes
disallowSpacesInsideTemplateStringPlaceholders
: check template literal (ikokostya)validateQuoteMarks
: do not throw on es7 decorators (Oleg Gaidarenko)Other commits (as always) are omitted, since they're all about internal stuff and we care about your viewing pleasure.
The new version differs by 81 commits .
8d25f6d
2.11.0
d85701c
Misc: add 2.11.0 changelog
d750790
Docs: correct docs requireCapitalizedConstructorsNew rule
f0b859b
Preset: add requireshorthandarrowfunctions rule to airbnb preset
4b97b03
disallowArrayDestructuringReturn: adjust to 2.x
3b1fc42
Preset: add disallowArrayDestructuringReturn in airbnb preset
8500623
New rule: disallowArrayDestructuringReturn
d760044
Misc: fix dynamic test requires
60caf4f
Preset: ease up on
requireCamelCaseOrUpperCaseIdentifiersin airbnb
ce34c05
requireNewlineBeforeSingleStatementsInIf: make lint happy
f9f203b
requireNewlineBeforeSingleStatementsInIf: correct it for 2.x branch
703cad3
validateQuoteMarks: do not throw on es7 decorators
74b11a4
New rule: requireNewlineBeforeSingleStatementsInIf
f7ba2ea
requireSpaceBeforeDestructuredValues: make lint happy
a195c2e
New rule: requireSpaceBeforeDestructuredValue
There are 81 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster β‘It keeps your software, up to date, all the time.