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.9.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.9.0 (2015-01-23):
Whoo a release during this blizzard! Hopefully, this will be our last release before we start pushing out pre-release versions of 3.0. (If necessary, we can push bug fixes to 2.x)
The plan:
2.9.0
release2.x
branch off ofmaster
master
to be the3.0
branchNew Rules
requireCapitalizedConstructorsNew
(Alexander O'Mara)Rule Updates
validateNewlineAfterArrayElements
: add autofix support for this rule (Joeri de Gooijer)This was @joerideg's first PR, so congrats and hope to see more contributions (not necessarily here)!
requireSemicolons
: account for stage-2ClassProperty
(Henry Zhu)requireCamelCaseOrUpperCaseIdentifiers
: add extra optionsallowedPrefixes, allowedSuffixes, allExcept
For options:
{ allowedSuffixes: ["_dCel", {regex:{pattern:"_[kMG]?Hz"}}] }
requireNewlineBeforeBlockStatements
,disallowNewlineBeforeBlockStatements
: account forSwitchStatement
Presets
airbnb
: Enforce rule 25.1 (Joe Bartlett)requireDollarBeforejQueryAssignment
airbnb
: Enforce rule 7.11 (Joe Bartlett)google
: Enforce naming rules"requireCamelCaseOrUpperCaseIdentifiers": { "allowedPrefixes": ["opt_"], "allExcept": ["var_args"] }
Bug Fixes
requireEnhancedObjectLiterals
: Don't error for computed properties (Henry Zhu)requireTemplateStrings
: should not report string to binary (Oleg Gaidarenko)requireVarDeclFirst
: be aware of the comments (Kushan Joshi)Misc
OVERVIEW.md
: add the Visual Studio Code extension to list of "Friendly Packages" (Tyler Hughes)The new version differs by 44 commits .
556c357
2.9.0
42ef510
Misc: add 2.9.0 changelog [skip ci]
87f864f
(require|disallow)NewlineBeforeBlockStatements: account for
SwitchStatement``ef9ed5e
New rule: requireCapitalizedConstructorsNew
63db340
Preset: add requireCamelCaseOrUpperCaseIdentifiers to google preset
c1d277c
requireCamelCaseOrUpperCaseIdentifiers: add exception options
72f9cb5
CLI: do not keep adding preset from CLI
787e80e
validateNewlineAfterArrayElements: add autofix tests, fixup config issues
310bf40
validateNewlineAfterArrayElements: --fix now works for this rule
a41d7c6
Preset: enforce Airbnb rule 25.1
168009d
``requireEnhancedObjectLiterals: Don't error for computed properties
cc8a9e0
Misc: update LICENSE range to 2016
f55cb18
Preset:
airbnb- enforce rule 7.11
c704e9e
requireVarDeclFirst: be aware of the comments
4f72a95
``requireCapitalizedComments: fixed formatting in docs
There are 44 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.