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)