Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Releases: jscs-dev/node-jscs

1.7.3

17 Oct 14:02
Compare
Choose a tag to compare
  • Parsing: Use the harmony parser via the esnext flag in the config (Joel Kemp)
  • validateIndentation: handle breakless case statements (Mike Sherov)

1.7.2

17 Oct 01:34
Compare
Choose a tag to compare
  • validateIndentation: fix return in switch failure (Mike Sherov)
  • Cast StringChecker maxErrors property to Number the first time (Florian Fesseler)
  • Fix format of --esnext and --max-errors in README (Joe Lencioni)

1.7.1

14 Oct 19:05
Compare
Choose a tag to compare
  • validateIndentation: fix empty multiline function body regression (Mike Sherov)

1.7.0

14 Oct 13:53
Compare
Choose a tag to compare
  • validateJSDoc: Deprecate rule (Joel Kemp)
  • Updated google preset (Richard Poole)
  • Add "requireSpaceBeforeBlockStatements" rule into the jquery preset (Oleg Gaidarenko)
  • CLI: Support --esnext to Parse ES6. (Robert Jackson)
  • CLI: Support a --max-errors option to limit the number of reported errors (mdevils)
  • New Rules: (require|disallow)CapitalizedComments (Joel Kemp)
  • New Rules: (require|disallow)SpacesInCallExpression (Mathieu Schroeter)
  • New Rules: (disallow|require)FunctionDeclarations (Nikhil Benesch)
  • New Rules: (require|disallow)PaddingNewLinesInObjects (Valentin Agachi)
  • Implement "only" for parens rule (Oleg Gaidarenko)
  • Simplify "allButNested" option for spaces rule (Oleg Gaidarenko)
  • Implement "except" option for spaces rule (Oleg Gaidarenko)
  • disallowMultipleVarDecl: Strict mode to disallow for statement exception (Joel Kemp)
  • disallowSpaceBeforeObjectKeys: fix parenthesised property value (Jindrich Besta)
  • requireSpaceBeforeObjectValues: fix parenthesised property value (Jindrich Besta)
  • validateIndentation: Allow non-indented "break" in "switch" statement (kevin.destrem)
  • ValidateIndentation: remove array and object indentation validation (Mike Sherov)
  • validateIndentation: Allow the "if" test to be nested. (Jesper Birkestrøm)
  • ValidateIndentation: Relax indentation rules for function expressions. (Mike Sherov)
  • requireCurlyBraces: support the with statement (Joel Kemp)
  • Fix invalid result of findXxxxToken methods when value is provided (Romain Guerin)
  • requireSpaceAfterLineComment: skips msjsdoc comments (Alexej Yaroshevich)
  • Docs: add a table of contents to README (Henry Zhu)
  • Docs: Make version numbers real markdown headers (Alexander Artemenko)

1.6.2

17 Sep 18:09
Compare
Choose a tag to compare
  • Fix disallowMultipleLineBreaks with shebang line (Nicolas Gallagher)
  • Improve validateParameterSeparator rule (David Chambers)
  • Add rule for parameter separation validation (James Allardice)
  • Add new rules for object values (Vivien TINTILLIER)
  • Docs: add intellij plugin to friendly packages (idok)
  • Support predefined values for another three rules (Joel Kemp)

1.6.1

02 Sep 22:27
Compare
Choose a tag to compare

Version 1.6.1

  • Airbnb preset (Joel Kemp)
  • Improve crockford preset (Vivien TINTILLIER)
  • Avoid node.js 0.10.x exit code bug for MS Windows (Taku Watabe)
  • Docs: Update packages and extensions sections with new URLs. (Mike Sherov)

1.6.0

29 Aug 23:17
Compare
Choose a tag to compare
  • Errors: ability to suppress errors via inline comments. (Mike Sherov)
  • Fix Anonymous Functions in google preset (Ayoub Kaanich)
  • Enhance google's preset (Joel Kemp)
  • Add "iterateTokenByValue" method (Oleg Gaidarenko)
  • Node -> Tokens navigation, token list navigation (Marat Dulin)
  • Do not strip json config from comments (Oleg Gaidarenko)
  • maximumLineLength should not be destructive (Oleg Gaidarenko)
  • Use tilde for package definition (Jordan Harband)
  • Improve stdin support (Joel Kemp)
  • Use correct logic for piped input (Joel Kemp)
  • Properly concatenate large files read from stdin (Nikhil Benesch)
  • Add link to the Atom editor plugin for JSCS (Addy Osmani)
  • Setting default tree to empty object (Bryan Donovan)

1.5.9

30 Jul 14:14
Compare
Choose a tag to compare
  • Binary Rules: Remove colon check from all binary rules (Oleg Gaidarenko)
  • Presets: Add Mr. Doob's Code Style (MDCS) (gero3)
  • Presets: Add Crockford (Timo Tijhof)
  • Google Preset: Add missing constraints (Turadg Aleahmad)
  • Yandex Preset: Remove repeated rule in yandex preset (Benjamin Tamborine)
  • Yandex Preset: updated to be more accurate (ikokostya)
  • New Rules: (require|disallow)NewlineBeforeBlockStatements (cipiripper)
  • New Rules: (require|disallow)AnonymousFunctions (Rachel White)
  • New Rules: (disallow|require)SpacesInFunction (Mike Sherov)
  • CLI: Accepts piped input from stdin (Joel Kemp)
  • CLI: Add --verbose option that adds rule names to error output. (Mike Sherov)
  • Errors: report Esprima parse errors as rule violations. (Mike Sherov)
  • disallowMultipleLineBreaks: fix issues with shebang line (Bryan Donovan)
  • spacesInFunctionExpressions: ignore function declarations. (Mike Sherov)

1.5.8

05 Jul 17:57
Compare
Choose a tag to compare
  • Errors: include which rule triggered the error in the error output (gero3)
  • requireTrailingComma: Allow single property objects / arrays to ignore the rule. (Joel Kemp)
  • requireTrailingComma: Avoids false positives from non object/array literal definitions. (Joel Kemp)
  • validateIndentation: fix indentation for non-block if that has block else. (Mike Sherov)
  • maximumLineLength: Document the required and default values. (Joel Kemp)

1.5.7

30 Jun 17:50
Compare
Choose a tag to compare
  • Exclude colon from binary rule of yandex preset (Oleg Gaidarenko)
  • wikimedia: Add 'case' and 'typeof' to requireSpaceAfterKeywords (Timo Tijhof)
  • Correct deal with exclusion and extensions (Oleg Gaidarenko)
  • disallowPaddingNewlinesInBlocks: fix false negatives with newline after closing curly. (Iskren Chernev)
  • Include jscs-browser file to npm package (Oleg Gaidarenko)
  • Clarify docs of use of jscs-browser.js (Oleg Gaidarenko)