All Versions
95
Latest Version
Avg Release Cycle
16 days
Latest Release
2144 days ago

Changelog History
Page 4

  • v1.13.0 Changes

    Overview

    ⚑️ This is mostly an incremental update, which includes important fixes for annoyances like npm ERR! EEXIST, symlink error at npm install. We also improved ES6 support, added seven new rules, three new rule values and now you can declare verbose option at the config.

    πŸš€ There are no preset updates in this release, but if you feel that rules are missing in πŸ‘ the supported presets - please send us a PR.

    πŸš€ We eagerly wait for the Esprima 2.3 release, since soon after, esnext option will be set to true by default.

    πŸš€ We would like specifically thanks @TheSavior and @hzoo for their hard work on this release.

    πŸ†• New options

    • πŸ†• New option: add "verbose" option as a config option (Oleg Gaidarenko)

    πŸ†• New rules

    • πŸ†• New rule: validateAlignedFunctionParameters (Bram Cordie)
    • πŸ†• New rule: (disallow|require)PaddingNewLinesBeforeExport (Eli White)
    • πŸ†• New rule: validateNewlineAfterArrayElements (Alexej Yaroshevich)
    • πŸ†• New rule: (require |disallow)NamedUnassignedFunctions (Todd Wolfson)
    • πŸ†• New rule: maximumNumberOfLines (Henry Zhu)
    • πŸ†• New rule: (disallow|require)PaddingNewLinesAfterUseStrict (Eli White)
    • πŸ†• New rule: disallowNotOperatorsInConditionals (Henry Zhu)

    πŸ†• New rule values

    • requirePaddingNewLinesAfterBlocks: add exceptions (Eli White)
    • requireSpaceBeforeBlockStatements: add number of spaces argument (Oleg Pesok)
    • requireDollarBeforejQueryAssignment: add "ignoreProperties" rule value (Alexej Yaroshevich)

    πŸ› Bug fixes

    • paddingNewLinesBeforeLineComments: code and comment on the same line (Oleg Gaidarenko)
    • disallowKeywordsOnNewLine: "do..while" on new line (oredi)
    • requirePaddingNewLinesBeforeLineComments: first token and not first line (Eli White)
    • πŸ‘ Errors: should not show rule for "Unsupported rule" error (Oleg Gaidarenko)
    • requireOperatorBeforeLineBreak: autofix by moving operator (Nick Santos)
    • disallowIdentifierNames: fix errors with using object properties as an identifier (Henry Zhu)
    • requireDollarBeforejQueryAssignment: Allow leading underscores before $ sign (Eli White)
    • requireCamelCaseOrUpperCaseIdentifiers: skip es5 getters if ignoreProperties is set (Alexej Yaroshevich)
    • ⚠ requireSemicolons: fix warning positions (Roman Dvornov)
    • requireMultipleVarDecl: fix switch statement case (Todd Wolfson)
    • βœ… paddingNewLineAfterVariableDeclaration: simlification and more tests (Oleg Gaidarenko)
    • paddingNewLineAfterVariableDeclaration: add check for let and const (Martin KolΓ‘rik)
    • paddingNewLineAfterVariableDeclaration: do not trip off on the semicolon (Oleg Gaidarenko)
    • paddingNewLinesAfterBlocks: ease up on function calls (Oleg Gaidarenko)
    • πŸ‘» requirePaddingNewLineAfterVariableDeclaration: allow exception (Henry Zhu)
    • requireLineBreakAfterVariableAssignment: add check for let and const (Henry Zhu)
    • requireCapitalizedComments: handle textblocks correctly (Martin KolΓ‘rik)

    Misc

    • js-file: small JSDoc improvement (Oleg Gaidarenko)
    • πŸ’… Tests: fix node-style-guide preset (Martin KolΓ‘rik)
    • Utils: add "true" and "false" to list of reserved words (Dmitry Sorin)
    • ⚑️ Update esprima-harmony version (Oleg Gaidarenko)
    • βœ… Tests: Add a test helper for asserting errors and autofix (Eli White)
    • disallowKeywordsOnNewLine: make jshint happy (Oleg Gaidarenko)
    • βœ… disallowMultipleVarDecl: add test for var inside switch clause (Alexej Yaroshevich)
    • βœ… errors: additional tests, coverage (Alexej Yaroshevich)
    • string-checker: wrap rule.check into try-catch (Alexej Yaroshevich)
    • βœ… errors: fix test flow with filtering (Alexej Yaroshevich)

    πŸ“„ Docs

    • πŸ“„ Docs: add link to overcommit under "Friendly packages" (Joe Lencioni)
    • πŸ“„ Docs: add a message to mention the verbose option (Henry Zhu)
    • πŸ“„ Docs: clarify that CLI options can be used in the config (Henry Zhu)
    • πŸ“„ Docs: clarify that disallowMultipleSpaces matches tabs and spaces (Henry Zhu)
    • πŸ“„ Docs: clarify how to disable a rule and use a config file (Henry Zhu)
    • πŸ“„ Docs: Clarify behavior of requireCamelCaseOrUpperCaseIdentifiers (Henry Zhu)
    • πŸ“„ Docs: fix disallowMultipleSpaces rule name in CHANGELOG (Alexej Yaroshevich)
    • πŸ“„ Docs: add two new presets to list of preset values (Jed Wood)
    • πŸ“„ Docs: add link to the preset option from the list of presets (Steve Lee)
    • πŸ“„ Docs: add shorten flags to cli (Henry Zhu)
    • πŸ“„ Docs: add auto fix option to cli docs (Henry Zhu)
    • πŸ“„ Docs: fix disallowMultipleSpaces invalid example (Henry Zhu)
    • πŸ“„ Docs: fix various docs typos (Eli White)
  • v1.12.0 Changes

    Overview

    πŸ— Ladies and Gentlemen... Elvis is in the building - auto-fixing is finally here! We were working really hard to make this powerful new feature, and to make it right. We're hoping it will truly help make your code look good.

    πŸ‘ Auto-fixing supports the EOF rule and all rules related to spacing, including validateIndentation which is the most complicated rule we have (big thanks to @mikesherov for making that happen).

    Although this chunk of rules covers most of the popular use-cases, we're determine to add more rules to this list, please help us out and report any bugs or consider contributing with some code - http://jscs.info/contributing.html. We're really friendly to every new contributor.

    Apart from auto-fixing, there are six new rules – fresh out of the oven. Special thanks goes to @lahmatiy, who had the patience and perseverance to implement requireSemicolons.

    πŸš€ Because of tireless efforts of @hzoo, we're adding two new presets in this release - node-style-guide and wordpress. They have pretty consistent style guides... try it out; They are a breeze to work with.

    πŸš€ We're very grateful to everyone who helped out with this release, especially to @TheSavior who helped review the pull requests and shape out our API.

    ⚑️ Preset updates

    • 🚚 Preset: remove "requireMultipleVarDecl" rule from jquery preset (Oleg Gaidarenko)
    • Preset: wordpress (Henry Zhu)
    • Preset: Add "requireSemicolons" rule to the Yandex preset (ikokostya)
    • Preset: Add validate indentation rule for Yandex (Gunnar Lium)
    • πŸ’… Preset: node-style-guide (Henry Zhu)
    • ⚑️ Preset: update airbnb preset (Eli White)
    • Preset: require blank line before all line comments for jQuery preset (Eli White)
    • βœ… Preset: Add "requireSpaceBeforeObjectValues" to crockford test (Jackson Ray Hamilton)

    Auto-fixing

    • validateIndentation: autofixing! (Mike Sherov)
    • TokenAssert: only fix lines when comments do not exist between tokens (Mike Sherov)
    • disallowMultipleLineString: do not yet allow autofixing, which is a non-whitespace change (Mike Sherov)
    • disallowSemicolons: do not yet allow autofixing, which is a non-whitespace change (Mike Sherov)
    • Autofixing: add more rules to use assertion framework (Henry Zhu)
    • Autofixing: make most rules use assertion framework when possible (Eli White)
    • Autofixing: initial implementation (mdevils)
    • Autofixing: token data (mdevils)

    πŸ†• New rules

    • πŸ†• New Rule: requireSemicolons (Roman Dvornov)
    • πŸ†• New Rule: disallowMultipleSpaces (Todd Wolfson)
    • πŸ†• New Rule: disallowIdentifierNames (alawatthe)
    • πŸ†• New Rule: requirePaddingNewLineAfterVariableDeclaration (Evan Jacobs)
    • πŸ†• New Rule: requireDollarBeforejQueryAssignment (Eli White)
    • πŸ†• New Rules: (disallow/require)PaddingNewLinesBeforeLineComments (Eli White)

    Rule Values

    • requireCapitalizedComments: Add allExcept option (Ash Clarke)

    πŸ”§ Auto-configuration

    • πŸ”§ Auto-Configuration: show error count when handling violated rules (fubu)
    • πŸ”§ Auto-Configuration: show number of violated rules (fubu)

    CLI

    • CLI: simplify and increase coverage of "cli-config" module (Oleg Gaidarenko)
    • CLI: increase coverage of the "cli" module (Oleg Gaidarenko)

    πŸ› Bug fixes

    • πŸ›  (require|disallow)spacesIn*: add more invalid examples and fixes for rules (Henry Zhu)
    • disallowSpacesInsideArrayBrackets: fix error messages (Henry Zhu)
    • requireSpacesInsideArrayBrackets: comments should be also taken into account (gero3)
    • disallowSpaceBeforeBinaryOperators: comments are allowed (gero3)
    • πŸ‘» requireLineBreakAfterVariableAssignment: allow exception for init part of for loop (Henry Zhu)
    • (require|disallow)SpacesInsideArrayBrackets: use includeComments in token (Henry Zhu)
    • 🚚 disallowAnonymousFunctions: remove errant "s" from error message (James Chin)
    • disallowDanglingUnderscores: Corrected rule name in assert message (Oswald Maskens)
    • πŸ“œ Parsing: Extend estraverse rules to support both XJS and JSX (Henry Zhu)
    • (disallow/require)PaddingNewLinesAfterBlocks: Ignoring the end of files (Eli White)
    • πŸ‘» requirePaddingNewLinesBeforeLineComments: Allow consecutive comments and firstAfterCurly exception (Eli White)

    Misc

    • disallowSpacesInsideParentheses: fix es6 template literal token issues (Mike Sherov)
    • RequireAlignedObjectValues: use assertions (Mike Sherov)
    • DisallowMultipleLineBreaks: use assertions (Mike Sherov)
    • 🚚 Tests: Move to spec folder (Joel Kemp)
    • βœ… Tests: Adding some more fix tests (Eli White)
    • 🚚 Tests: move specs into a subdir so that tests, fixtures, and utilities aren't intermingled (Mike Sherov)
    • ⚑️ Misc: update dependencies (Oleg Gaidarenko)
    • JsFile: Make getTokens include comments (Eli White)
    • βœ… Assertions: Add fixing tests to several rules (Eli White)
    • βœ… Assertions: add tests for linesBetween (Mike Sherov)
    • πŸ›  Assertions: Make sure newlines get fixed (gero3)
    • 🚚 TokenAssert: remove newline fixing logic duplication to prepare for further fixes (Mike Sherov)
    • TokenAssert: simplify and strengthen linesBetween rules (Mike Sherov)
    • Token Assert: normalize whiteSpace assertions to match line assertions (Mike Sherov)
    • requireLineFeedAtFileEnd: make use of assert (gero3)
    • Don't trim whitespace in markdown-files (Simen Bekkhus)
    • Cleanup: use this.getOptionName() for consistency, options variable (Henry Zhu)
    • Cleanup: use iterateTokensByTypeAndValue where appropriate (Mike Sherov)
    • 🚚 Cleanup: remove archaic functions from JsFile (Mike Sherov)
    • 🚚 Cleanup: remove usage of getComment(After|Before)Token (Mike Sherov)
    • 🚚 Cleanup: remove redundant boolean check, use consistent error messages (Henry Zhu)
    • Cleanup: use iterateTokensByTypeAndValue and this.getOptionName() (Henry Zhu)
    • requireSpaceAfterKeywords: use token assert (Henry Zhu)
    • JsFile::getFirstTokenOnLine implementation (for indentation rules) (mdevils)
    • πŸ“¦ Replaces the 'colors' and 'supports-colors' packages with 'chalk'. (Joshua Appelman)
    • πŸ›  Fix various doc typos (JΓ©rΓ©mie Astori)
    • requirePaddingNewLinesAfterBlockDeclarations / disallowPaddingNewLinesAfterBlockDeclarations Adding an option to specify lines for errors.assert.differentLine (Eli White)
    • πŸ›  JsFile: add getLineBreaks function to support future whitespace fixes (Mike Sherov)
    • Appveyor: freeze node version to 0.12.x (Alexej Yaroshevich)
    • requireCapitalizedComments: automatically except jscs comments (James Reggio)

    πŸ“„ Docs

    • πŸ“„ Docs: Change "Values" and "Types" to grammatically correct forms (Shmavon Gazanchyan)
    • πŸ“„ Docs: add reporter (sanemat)
    • πŸ“„ Docs: less.js uses jscs (Bass Jobsen)
    • πŸ“„ Docs: added Goodvidio to the list of adopters (Adonis K)
    • πŸ›  Fix types and descriptions in documentation (Shmavon Gazanchyan)
  • v1.11.3 Changes

    πŸ› Bug fixes

    • 🚚 JsFile: ensure getLinesWithCommentsRemoved does not alter future getComments calls. (Mike Sherov)

    Misc.

    • 🏁 modules/utils normalizePath: fixed test for windows env (Alexej Yaroshevich)
  • v1.11.2 Changes

    πŸ› Bug fixes

    • validateIndentation: ignore empty module bodies (Mike Sherov)
    • Object rules: ignore ES5 getters/setters when appropriate. (Mike Sherov)
    • Ensure esprimaOptions is not mistaken for a rule (Yannick Croissant)

    Infrastructure Changes

    • CI: Add AppVeyor (Adeel)

    Misc.

    • βž• Add @zxqfox to the list of maintainers (mdevils)
  • v1.11.1 Changes

    πŸ†• New Rules / Rule Values

    • disallowSpaceAfterObjectKeys: implement ignoreSingleLine and ignoreMultiLine options (Henry Zhu)

    πŸ› Bug fixes

    • disallowAllowSpacesInsideParentheses: reintroduce archaic "all" config option (Mike Sherov)
    • requireSpaceBetweenArguments: loosen rule restriction (Mike Sherov)
    • Object Key rules: ignore method syntax (Alexej Yaroshevich)
    • πŸ›  (require|disallow)TrailingComma: fixed error location (Alexej Yaroshevich)

    Infrastructure Changes

    • 🚚 Auto-generate: Move promisify to utils (Joel Kemp)

    Misc.

    • JSHint: add unused true (Mike Sherov)
    • ⚑️ Updating rules to use File Traversal APIs. (Eli White)
    • πŸ“„ Docs: Add website rebuild instructions to maintenance (Mike Sherov)
  • v1.11.0 Changes

    ⚑️ Preset Updates

    • Preset: add "requireSpaceBetweenArguments" rule to all presets (Oleg Gaidarenko)
    • 🚚 Presets: Remove use of outdated validateJSDoc rule (Joel Kemp)
    • Preset: Add "requireSpacesInsideParentheses" to jquery preset (Oleg Gaidarenko)
    • Preset: switch multipleVarDecl rule in airbnb preset (Martin Bohal)
    • Preset: change value of "requireDotNotation" rule for jquery preset (Oleg Gaidarenko)

    πŸ†• New Config Options

    • πŸ”§ Configuration: Auto-generation (Joel Kemp)
    • πŸ‘ Config: Add support for custom Esprima options. (Chris Rebert)

    πŸ†• New Rules / Rule Values

    • πŸ†• New Rule: disallowKeywordsInComments (Joe Sepi)
    • πŸ†• New Rules: (require|disallow)SpacesInsideBrackets (Mike Sherov)
    • validateIndentation: new rule value - includeEmptyLines (Jonathan Gawrych)
    • disallowTrailingWhitespace: new rule value - ignoreEmptyLines (Jonathan Gawrych)
    • πŸ†• New Rule: disallowCurlyBraces (Henry Zhu)
    • requireCapitalizedConstructors: accept list of exempt constructors (Sam L'ecuyer)
    • πŸ‘» validateIndentation: exception to indentation rules for module pattern (Mike Sherov)

    πŸ› Bug fixes

    • (require|disallow)SpacesInsideArrayBrackets: only check for ArrayExpressions (Mike Sherov)
    • 🚚 JsFile: remove all duplicate tokens. (Mike Sherov)
    • ObjectExpression Rules: take into account shorthand syntax. (Mike Sherov)
    • disallowSpaceBeforeKeywords: don't report an error on back-to-back keywords (Mike Sherov)
    • πŸ†“ requireParenthesesAroundIIFE: fix crash on semicolon-free IIFE (Yuheng Zhang)
    • πŸ“œ Parsing: tolerate non-leading import statements (Chris Rebert)
    • requireCapitalizedComments: improve letter recognition (Mathias Bynens)
    • requireSpaces*: fix error message to 'Exactly one space required' (Henry Zhu)
    • StringChecker: leading hashbangs should still report correct error line numbers (Mike Sherov)
    • validateIndentation: don't check bracelets else indentation. (Mike Sherov)
    • validateIndentation: don't consider return when classifying break indentation (Mike Sherov)
    • validateIndentation: fix multiline while in doWhile statements (Mike Sherov)
    • validateIndentation: ensure pushes and pops are matching (Mike Sherov)
    • πŸ†“ validateIndentation: ensure semicolon free indentations are on correct line (Mike Sherov)
    • SpaceBetweenArguments: catch call expression arguments (Oleg Gaidarenko)
    • token-assert: add check for document start to prevent crashes (Alexej Yaroshevich)
    • requireSpaceBeforeBlockStatements: reworded an error message (Alexej Yaroshevich)

    Infrastructure Changes

    • js-file: added getCommentAfter/BeforeToken functions (Alexej Yaroshevich)
    • 🚚 cleanup: remove lib/token-helper (Mike Sherov)
    • 🚚 JsFile: move getLinesWithCommentsRemoved from comment-helper (Mike Sherov)

    Misc.

    • disallowSpacesInsideArrayBrackets: fix rule name in example (Gustavo Henke)
    • ⚑️ Misc: update dependencies (Oleg Gaidarenko)
    • various rules: use tokenAssert (Henry Zhu)
    • πŸ— Speed up builds by using Docker-based Travis CI (Pavel Strashkin)
    • 100% code coverage on various files(Mike Sherov)
    • βœ… disallowSpace(Before | After)Keywords: more tests (Alexej Yaroshevich)
    • βœ… requireCurlyBrace: more tests (Alexej Yaroshevich)
    • CLI: correct JSDoc comment (Oleg Gaidarenko)
    • requireQuotedKeysInObjects: fixing file permissions (Joe Sepi)
    • πŸ”„ Changelog: correct version number (Oleg Gaidarenko)
    • πŸ“„ Docs: add missed commit to the changelog (Oleg Gaidarenko)
    • πŸ’… Misc: .editorconfig - fix for invalid indent_style value (Dmitriy Schekhovtsov)
    • ⚑️ Update regenerate to ~1.2.1 (Chris Rebert)
    • βž• Add description to commander CLI help (Chris Rebert)
  • v1.10.0 Changes

    • βœ… 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)

  • v1.9.0 Changes

    • ⚑️ Preset: update wikimedia preset (Timo Tijhof)
    • ⚑️ Preset: update crockford preset (Jackson Ray Hamilton)

    • πŸ†• New Rules: (require | disallow)SpaceBetweenArguments (James Allardice)

    • πŸ†• New Rules: requireLineBreakAfterVariableAssignment (jdlrobson)

    • πŸ†• New Rules: disallowSemicolons (Christopher Cliff)

    • CLI: relative path resolving fix (mdevils)

    • requireCurlyBraces: correctly set error pointer (Oleg Gaidarenko)

    • requireOperatorBeforeLineBreak: Detect binary operator after literal (Lucas Cimon)

    • requireCapitalizedComments: correct letter recognition (alawatthe)

    • 🚚 CLI: Remove duplicated error reporting code paths (Mike Sherov)

    • 🚚 CLI: remove duplicated preset existence check (Mike Sherov)

    • πŸ‘ Iterator: extend estraverse rules to support JSX (Yannick Croissant)

    • Iterator: use estraverse in tree-iterator. (mdevils)

    • πŸ”§ CLI: Move configuration override to node-configuration (Mike Sherov)

    • πŸ“„ Docs: small correction to contributing guide (Oleg Gaidarenko)

    • πŸ“„ Docs: fixed incorrect rule name in example (alawatthe)

    • πŸ“„ Docs: added keywords for Googleability (Devin Ekins)

    • πŸ“„ Docs: Correct documentation for disallowOperatorBeforeLineBreak (jdlrobson)

    • πŸ“„ Docs: Added quotes for uniformity (Callum Macrae)

    • πŸ“„ Docs: Typo fix (Alexander Sofin)

    • πŸ“„ Docs: fix urls to yandex codestyle (Andrey Morozov)

  • v1.8.1 Changes

    • Assertions: always allow new lines in whitespaceBetween (Henry Zhu)
    • Tests: reorganization, full coverage for JsFile (mdevils)
  • v1.8.0 Changes

    • Preset: Grunt (Joel Kemp)
    • Preset: remove "disallowMultipleLineBreaks" rule from crockford preset (Oleg Gaidarenko)

    • New Rules: disallowOperatorBeforeLineBreak (jdlrobson)

    • New Rules: (require | disallow)PaddingNewlinesBeforeKeywords (Anton Vishnyak)

    • New Rules: disallowSpaceBeforeKeywords (Bryan Donovan)

    • New Rules: requireSpaceBeforeKeywords (Bryan Donovan)

    • Parsing: Ability to specify a custom esprima version via CLI or config (Konstantin Tarkus)

    • Errors: Support a filter to control which errors are reported (Joel Kemp)

    • Assertions: better rule error reporting. (mdevils)

    • Better configuration, plugin support (mdevils)

    • disallowDanglingUnderscores: Support an array of additional exceptions (Henry Zhu)

    • requireTrailingComma: add option ignoreSingleLine (eltacodeldiablo)

    • StringChecker: unsupported rules shown as style errors and not thrown exceptions (Joel Kemp)

    • Iterate over "export" statement of ES6 (Oleg Gaidarenko)

    • disallowMultipleVarDecl: add exception for undefined variable declarations (Henry Zhu)

    • disallowDanglingUnderscores: add "super_" to allowed identifier list (Markus Dolic)

    • disallowSpacesInAnonymousFunctionExpression: set correct error pointer (Oleg Gaidarenko)

    • requireSpaceAfterLineComment: add "except" option (Alexej Yaroshevich)

    • validateParameterSeparator: fix for multiple spaces between parameters (Henry Zhu)

    • Added test and patch for finally as a spaced keyword (Todd Wolfson)

    • requireCapitalizedComments: Better support for multi-line comments (indexzero)

    • disallowSpaceBeforeKeywords: Fix assertion typo (Jeremy Fleischman)

    • Errors: Simplify rules debugging and prevent crashes in error reporters (Alexej Yaroshevich)

    • Correct error message for "requireSpaceAfterKeywords" rule (Bryan Donovan)

    • Docs: Fix Yandex codestyle link (Garmash Nikolay)

    • Docs: Added clarification of tokens in disallowSpacesInConditionalExpression (indexzero)

    • Docs: add twitter and mailling list links (Oleg Gaidarenko)

    • Docs: add more specific cases for function spaces rules (Henry Zhu)

    • Docs: make indentation to be consistent at 4 spaces (Henry Zhu)

    • Docs: Correct docs for requireAnonymousFunctions rule (Oleg Gaidarenko)

    • Docs: Clarify "config" option (MaximAL)

    • Docs: Add Plugins section (Alexej Yaroshevich)