JSCS v1.10.0 Release Notes
-
- โ Preset: correct wikimedia preset test (Oleg Gaidarenko)
- โ Preset: correct jquery preset test (Oleg Gaidarenko)
- Preset: add disallowKeywordsOnNewLine rule to google preset (Oleg Gaidarenko)
- Preset: add "requireSpacesInForStatement" rule to the presets (Oleg Gaidarenko)
Preset: add 'catch' to "disallowKeywordsOnNewLine" rule for wikimedia (James Forrester)
disallowSpacesInForStatement: Disallow spaces in between for statement (gero3)
requireSpacesInForStatement: Requires spaces inbetween for statement (gero3)
๐ New rule: requireQuotedKeysInObjects (hpshelton)
disallowSpacesInsideObjectBrackets: implement "allExcept" option (Oleg Gaidarenko)
requireSpacesInsideObjectBrackets: implement "allExcept" option (Oleg Gaidarenko)
disallowSpacesInsideArrayBrackets: implement "allExcept" option (Oleg Gaidarenko)
requireSpacesInsideArrayBrackets: implement "allExcept" option (Oleg Gaidarenko)
requireDotNotation: new rule value - except_snake_case (Alexej Yaroshevich)
๐ง Configuration: ability to specify and query es3/es6 support in files. (Mike Sherov)
cli-config: add "getReporter" method (Oleg Gaidarenko)
requireSpaceBeforeBlockStatements: fix for else statement (Oleg Gaidarenko)
disallowSpaceBeforeBlockStatements: fix for else statement (Beau Gunderson)
disallowKeywordsOnNewLine: add special case for "else" without braces (Oleg Gaidarenko)
validateIndentation: fix bug with anonymous function return in switch case (Mike Sherov)
validateIndentation: fix bug with brace-less if in a switch case. (Mike Sherov)
validateIndentation: fix bug with indentation of bare blocks. (Mike Sherov)
disallowSpaceAfterBinaryOperators: report correct operator error (Oleg Gaidarenko)
requireSpaceAfterBinaryOperators: report correct operator error (Oleg Gaidarenko)
๐ Fixes #909 (wrong type for disallow-capitalized-comments) (alawatthe)
token-assert: add guards for token and subjectToken properties (Oleg Gaidarenko)
โก๏ธ ESNext: update esprima to properly parse regex tokens (Mike Sherov)
requireNewlineBeforeBlockStatements: add guard for the first symbol (Oleg Gaidarenko)
disallowNewlineBeforeBlockStatements: add guard for the first symbol (Oleg Gaidarenko)
requireDotNotation: require dots for es3 keywords when not in es3 mode (Mike Sherov)
JsFile: make getNodeByRange check condition less strict (gero3)
requireSpacesInConditionalExpression: notice parentheses (Alexej Yaroshevich)
disallowSpacesInConditionalExpression: notice parentheses (Alexej Yaroshevich)
requirePaddingNewlinesBeforeKeywords: add token exceptions (jdlrobson)
requireLineBreakAfterVariableAssignment: fix edge cases (jdlrobson)
๐ Docs: various readme fixes (Oleg Gaidarenko)
๐ Docs: improve "excludeFiles" documentation (Alex Yaroshevich)
๐ Docs: Fixed level for 1.9.0 to be the same as for 1.8.x (Alexander Artemenko)
README: Fix Bootstrap's name (Chris Rebert)
requireOperatorBeforeLineBreak: Use the new assertion framework (hpshelton)
cli-config: add JSDoc for exposed methods (Oleg Gaidarenko)
(require | disallow)SpacesInsideObjectBrackets: add bunch of newlines (Oleg Gaidarenko)
Misc: make jscs happy (Oleg Gaidarenko)
โ disallowSpaceBeforeBlockStatements: correct test names (Oleg Gaidarenko)
disallowSpaceBeforeBlockStatements: use assertion API (Oleg Gaidarenko)
requireKeywordsOnNewLine: use assertion API (Oleg Gaidarenko)
Misc: complitly replace hooker with sinon (Oleg Gaidarenko)
โ CLI: correct tests for the "reporter" option (Oleg Gaidarenko)
๐ (require | disallow)NewlineBeforeBlockStatements: remove needless guards (Oleg Gaidarenko)
(require | disallow)NewlineBeforeBlockStatements: use assertion API (Nicholas Bartlett)
๐ Move website to a different repo (mdevils)
utils: add isSnakeCased, trimUnderscores methods (Alexej Yaroshevich)
โ requireSpace(Before|After)BinaryOperators: Add tests for error column (hpshelton)
โช modules/checker: call spy.restore() after assertions in checkStdin (Alexej Yaroshevich)
Misc: correct file flags - chmod -x (Oleg Gaidarenko)
โก๏ธ Build: update dependencies (Oleg Gaidarenko)