This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
v1.10.0
Presets
- 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)
New Rules
- disallowSpacesInForStatement: Disallow spaces in between for statement (gero3)
- requireSpacesInForStatement: Requires spaces inbetween for statement (gero3)
- New rule: requireQuotedKeysInObjects (hpshelton)
New Rule Values
- 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)
New CLI options
- Configuration: ability to specify and query es3/es6 support in files. (Mike Sherov)
API
- cli-config: add "getReporter" method (Oleg Gaidarenko)
Bug fixes
- 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
- 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)
Misc
- 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)