Skip to content

Releases: eslint/eslint

v1.6.0

02 Oct 18:14
Compare
Choose a tag to compare
  • Fix: cache is basically not working (fixes #4008) (Richard Hansen)
  • Fix: a test failure on Windows (fixes #3968) (Toru Nagashima)
  • Fix: no-invalid-this had been missing globals in node (fixes #3961) (Toru Nagashima)
  • Fix: curly with multi had false positive (fixes #3856) (Toru Nagashima)
  • Build: Add load performance check inside perf function (fixes #3994) (Gyandeep Singh)
  • Fix: space-before-keywords fails with super keyword (fixes #3946) (alberto)
  • Fix: CLI should not fail on account of ignored files (fixes #3978) (Dominic Barnes)
  • Fix: brace-style rule incorrectly flagging switch (fixes #4002) (Aparajita Fishman)
  • Update: Implement auto fix for space-unary-ops rule (fixes #3976) (alberto)
  • Update: Implement auto fix for computed-property-spacing (fixes #3975) (alberto)
  • Update: Implement auto fix for no-multi-spaces rule (fixes #3979) (alberto)
  • Fix: Report shorthand method names in complexity rule (fixes #3955) (Tijn Kersjes)
  • Docs: Add note about typeof check for isNaN (fixes #3985) (Daniel Lo Nigro)
  • Update: ESLint reports parsing errors with clear prefix. (fixes #3555) (Kevin Partington)
  • Build: Update markdownlint dependency (fixes #3954) (David Anson)
  • Update: no-mixed-require to have non boolean option (fixes #3922) (Gyandeep Singh)
  • Fix: trailing spaces auto fix to check for line breaks (fixes #3940) (Gyandeep Singh)
  • Update: Add typeof option to no-undef rule (fixes #3684) (Gyandeep Singh)
  • Docs: Fix explanation and typos for accessor-pairs (alberto)
  • Docs: Fix typos for camelcase (alberto)
  • Docs: Fix typos for max-statements (Danny Guo)
  • Update: Implement auto fix for object-curly-spacing (fixes #3857) (alberto)
  • Update: Implement auto fix for array-bracket-spacing rule (fixes #3858) (alberto)
  • Fix: Add schema to global-require rule (fixes #3923) (Gyandeep Singh)
  • Update: Apply lazy loading for rules (fixes #3930) (Gyandeep Singh)
  • Docs: Fix typo for arrow-spacing (Danny Guo)
  • Docs: Fix typos for wrap-regex (Danny Guo)
  • Docs: Fix explanation for space-before-keywords (Danny Guo)
  • Docs: Fix typos for operator-linebreak (Danny Guo)
  • Docs: Fix typos for callback-return (Danny Guo)
  • Fix: no-trailing-spaces autofix to account for blank lines (fixes #3912) (Gyandeep Singh)
  • Docs: Fix example in no-negated-condition.md (fixes #3908) (alberto)
  • Update:warn message use @return when prefer.returns=return (fixes #3889) (闲耘™)
  • Update: Implement auto fix for generator-star-spacing rule (fixes #3873) (alberto)
  • Update: Implement auto fix for arrow-spacing rule (fixes #3860) (alberto)
  • Update: Implement auto fix for block-spacing rule (fixes #3859) (alberto)
  • Fix: Support allman style for switch statement (fixes #3903) (Gyandeep Singh)
  • New: no-negated-condition rule (fixes #3740) (alberto)
  • Docs: Fix typo in blog post template (Nicholas C. Zakas)
  • Update: Add env 'nashorn' to support Java 8 Nashorn Engine (fixes #3874) (Benjamin Winterberg)
  • Docs: Prepare for rule doc linting (refs #2271) (Ian VanSchooten)

v1.5.1

23 Sep 00:58
Compare
Choose a tag to compare
  • Fix: valid-jsdoc fix for param with properties (fixes #3476) (Gyandeep Singh)
  • Fix: valid-jsdoc error with square braces (fixes #2270) (Gyandeep Singh)
  • Upgrade: doctrine to 0.7.0 (fixes #3891) (Gyandeep Singh)
  • Fix: space-before-keywords had been wrong on getters (fixes #3854) (Toru Nagashima)
  • Fix: no-dupe-args had been wrong for nested destructure (fixes #3867) (Toru Nagashima)
  • Docs: io.js is the new Node.js (thefourtheye)
  • Docs: Fix method signature on working-with-rules docs (fixes #3862) (alberto)
  • Docs: Add related ternary links (refs #3835) (Ian VanSchooten)
  • Fix: don’t ignore config if cwd is the home dir (fixes #3846) (Mathias Schreck)
  • Fix: func-style had been warning arrows with this (fixes #3819) (Toru Nagashima)
  • Fix: space-before-keywords; allow opening curly braces (fixes #3789) (Marko Raatikka)
  • Build: Fix broken .gitattributes generation (fixes #3566) (Nicholas C. Zakas)
  • Build: Fix formatter docs generation (fixes #3847) (Nicholas C. Zakas)

v1.5.0

18 Sep 17:37
Compare
Choose a tag to compare
  • Fix: invalidate cache when config changes. (fixes #3770) (royriojas)
  • Fix: function body indent issues (fixes #3614, fixes #3799) (Gyandeep Singh)
  • Update: Add configuration option to space-before-blocks (fixes #3758) (Phil Vargas)
  • Fix: space checking between tokens (fixes #2211) (Nicholas C. Zakas)
  • Fix: env-specified ecmaFeatures had been wrong (fixes #3735) (Toru Nagashima)
  • Docs: Change example wording from warnings to problems (fixes #3676) (Ian VanSchooten)
  • Build: Generate formatter example docs (fixes #3560) (Ian VanSchooten)
  • New: Add --debug flag to CLI (fixes #2692) (Nicholas C. Zakas)
  • Docs: Update no-undef-init docs (fixes #3170) (Nicholas C. Zakas)
  • Docs: Update no-unused-expressions docs (fixes #3685) (Nicholas C. Zakas)
  • Docs: Clarify node types in no-multi-spaces (fixes #3781) (Nicholas C. Zakas)
  • Docs: Update new-cap docs (fixes #3798) (Nicholas C. Zakas)
  • Fix: space-before-blocks had conflicted arrow-spacing (fixes #3769) (Toru Nagashima)
  • Fix: comma-dangle had not been checking imports/exports (fixes #3794) (Toru Nagashima)
  • Fix: tests fail due to differences in temporary paths. (fixes #3778) (royriojas)
  • Fix: Directory ignoring should work (fixes #3812) (Nicholas C. Zakas)
  • Fix: Ensure **/node_modules works in ignore files (fixes #3788) (Nicholas C. Zakas)
  • Update: Implement auto fix for space-infix-ops rule (fixes #3801) (Gyandeep Singh)
  • Fix: no-warning-comments can't be set via config comment (fixes #3619) (Burak Yigit Kaya)
  • Update: key-spacing should allow 1+ around colon (fixes #3363) (Burak Yigit Kaya)
  • Fix: false alarm of semi-spacing with semi set to never (fixes #1983) (Chen Yicai)
  • Fix: Ensure ./ works correctly with CLI (fixes #3792) (Nicholas C. Zakas)
  • Docs: add more examples + tests for block-scoped-var (fixes #3791) (JT)
  • Update: Implement auto fix for indent rule (fixes #3734) (Gyandeep Singh)
  • Fix: space-before-keywords fails to handle some cases (fixes #3756) (Marko Raatikka)
  • Docs: Add if-else example (fixes #3722) (Ian VanSchooten)
  • Fix: jsx-quotes exception for attributes without value (fixes #3793) (Mathias Schreck)
  • Docs: Fix closing code fence on cli docs (Ian VanSchooten)
  • Update: Implement auto fix for space-before-blocks rule (fixes #3776) (Gyandeep Singh)
  • Update: Implement auto fix for space-after-keywords rule (fixes #3773) (Gyandeep Singh)
  • Fix: semi-spacing had conflicted with block-spacing (fixes #3721) (Toru Nagashima)
  • Update: Implement auto fix for space-before-keywords rule (fixes #3771) (Gyandeep Singh)
  • Update: auto fix for space-before-function-paren rule (fixes #3766) (alberto)
  • Update: Implement auto fix for no-extra-semi rule (fixes #3745) (Gyandeep Singh)
  • Update: Refactors the traversing logic (refs #3530) (Toru Nagashima)
  • Update: Implement auto fix for space-return-throw-case (fixes #3732) (Gyandeep Singh)
  • Update: Implement auto fix for no-spaced-func rule (fixes #3728) (Gyandeep Singh)
  • Update: Implement auto fix for eol-last rule (fixes #3725) (Gyandeep Singh)
  • Update: Implement auto fix for no-trailing-spaces rule (fixes #3723) (Gyandeep Singh)

v1.4.3

15 Sep 21:21
Compare
Choose a tag to compare
  • Fix: Directory ignoring should work (fixes #3812) (Nicholas C. Zakas)
  • Fix: jsx-quotes exception for attributes without value (fixes #3793) (Mathias Schreck)

v1.4.2

15 Sep 20:26
Compare
Choose a tag to compare
  • Fix: Ensure **/node_modules works in ignore files (fixes #3788) (Nicholas C. Zakas)
  • Fix: Ensure ./ works correctly with CLI (fixes #3792) (Nicholas C. Zakas)

v1.4.1

11 Sep 21:43
Compare
Choose a tag to compare
  • Fix: CLIEngine default cache parameter name (fixes #3755) (Daniel G. Taylor)
  • Fix: Glob pattern from .eslintignore not applied (fixes #3750) (Burak Yigit Kaya)
  • Fix: Skip JSDoc from NewExpression (fixes #3744) (Nicholas C. Zakas)
  • Docs: Shorten and simplify autocomment for new issues (Nicholas C. Zakas)

v1.4.0

11 Sep 15:57
Compare
Choose a tag to compare
  • Docs: Add new formatters to API docs (Ian VanSchooten)
  • New: Implement autofixing (fixes #3134) (Nicholas C. Zakas)
  • Fix: Remove temporary "allow-null" (fixes #3705) (Toru Nagashima)
  • Fix: no-unused-vars had been crashed at /*global $foo*/ (fixes #3714) (Toru Nagashima)
  • Build: check-commit now checks commit message length. (fixes #3706) (Kevin Partington)
  • Fix: make getScope acquire innermost scope (fixes #3700) (voideanvalue)
  • Docs: Fix spelling mistake (domharrington)
  • Fix: Allow whitespace in rule message parameters. (fixes #3690) (Kevin Partington)
  • Fix: Eqeqeq rule with no option does not warn on 'a == null' (fixes #3699) (fediev)
  • Fix: no-unused-expressions with allowShortCircuit false positive if left has no effect (fixes #3675) (Toru Nagashima)
  • Update: Add Node 4 to travis builds (fixes #3697) (Ian VanSchooten)
  • Fix: Not check for punctuator if on same line as last var (fixes #3694) (Gyandeep Singh)
  • Docs: Make quotes docs clearer (fixes #3646) (Nicholas C. Zakas)
  • Build: Increase mocha timeout (fixes #3692) (Nicholas C. Zakas)
  • Fix: no-extra-bind to flag all arrow funcs (fixes #3672) (Nicholas C. Zakas)
  • Docs: Update README with release and sponsor info (Nicholas C. Zakas)
  • Fix: object-curly-spacing had been crashing on an empty object pattern (fixes #3658) (Toru Nagashima)
  • Fix: no-extra-parens false positive at IIFE with member accessing (fixes #3653) (Toru Nagashima)
  • Fix: comma-dangle with "always"/"always-multiline" false positive after a rest element (fixes #3627) (Toru Nagashima)
  • New: jsx-quotes rule (fixes #2011) (Mathias Schreck)
  • Docs: Add linting for second half of rule docs (refs #2271) (Ian VanSchooten)
  • Fix: no-unused-vars had not shown correct locations for /*global (fixes #3617) (Toru Nagashima)
  • Fix: space-after-keywords not working for catch (fixes #3654) (Burak Yigit Kaya)
  • Fix: Incorrectly warning about ignored files (fixes #3649) (Burak Yigit Kaya)
  • Fix: Indent rule VariableDeclarator doesn't apply to arrow functions (fixes #3661) (Burak Yigit Kaya)
  • Upgrade: Consuming handlebars@^4.0.0 (fixes #3632) (Kevin Partington)
  • Docs: Fixing typos in plugin processor section. (fixes #3648) (Kevin Partington)
  • Fix: Invalid env keys would cause an unhandled exception.(fixes #3265) (Ray Booysen)
  • Docs: Fixing broken link in documentation (Ilya Volodin)
  • Update: Check for default assignment in no-unneeded-ternary (fixes #3232) (cjihrig)
  • Fix: consistent-as-needed mode with keyword: true (fixes #3636) (Alex Guerrero)
  • New: Implement cache in order to only operate on changed files since previous run. (fixes #2998) (Roy Riojas)
  • Update: Grouping related CLI options. (fixes #3612) (Kevin Partington)
  • Update: Using @OverRide does not require @param or @returns (fixes #3629) (Whitney Young)
  • Docs: Use eslint-env in no-undef (fixes #3616) (Ian VanSchooten)
  • New: require-jsdoc rule (fixes #1842) (Gyandeep Singh)
  • New: Support glob path on command line (fixes #3402) (Burak Yigit Kaya)
  • Update: Short circuit and ternary support in no-unused-expressions (fixes #2733) (David Warkentin)
  • Docs: Replace to npmjs.com (Ryuichi Okumura)
  • Fix: indent should only indent chain calls if the first call is single line (fixes #3591) (Burak Yigit Kaya)
  • Fix: quote-props should not crash for object rest spread syntax (fixes #3595) (Joakim Carlstein)
  • Update: Use globals module for the commonjs globals (fixes #3606) (Sindre Sorhus)
  • New: no-restricted-syntax rule to forbid certain syntax (fixes #2422) (Burak Yigit Kaya)
  • Fix: no-useless-concat false positive at numbers (fixes #3575, fixes #3589) (Toru Nagashima)
  • New: Add --max-warnings flag to CLI (fixes #2769) (Kevin Partington)
  • New: Add parser as an option (fixes #3127) (Gyandeep Singh)
  • New: space-before-keywords rule (fixes #1631) (Marko Raatikka)
  • Update: Allowing inline comments to disable eslint rules (fixes #3472) (Whitney Young)
  • Docs: Including for(;;) as valid case in no-constant-condition (Kevin Partington)
  • Update: Add quotes around the label in no-redeclare error messages (fixes #3583) (Ian VanSchooten)
  • Docs: correct contributing URL (Dieter Luypaert)
  • Fix: line number for duplicate object keys error (fixes #3573) (Elliot Lynde)
  • New: global-require rule (fixes #2318) (Jamund Ferguson)

v1.3.1

29 Aug 14:54
Compare
Choose a tag to compare
  • Fix: indent to not crash on empty files (fixes #3570) (Gyandeep Singh)
  • Fix: Remove unused config file (fixes #2227) (Gyandeep Singh)

v1.3.0

28 Aug 20:22
Compare
Choose a tag to compare
  • Build: Autogenerate release blog post (fixes #3562) (Nicholas C. Zakas)
  • New: no-useless-concat rule (fixes #3506) (Henry Zhu)
  • Update: Add keywords flag to consistent-as-needed mode in quote-props (fixes #3532) (Burak Yigit Kaya)
  • Update: adds numbers option to quote-props (fixes #2914) (Jose Roberto Vidal)
  • Fix: quote-props rule should ignore computed and shorthand properties (fixes #3557) (fixes #3544) (Burak Yigit Kaya)
  • Docs: Add config comments for rule examples 'accessor-pairs' to 'no-extra-semi' (refs #2271) (Ian VanSchooten)
  • Update: Return to accept undefined type (fixes #3382) (Gyandeep Singh)
  • New: Added HTML formatter (fixes #3505) (Julian Laval)
  • Fix: check space after yield keyword in space-unary-ops (fixes #2707) (Mathias Schreck)
  • Docs: (curly) Fix broken code in example (Kent C. Dodds)
  • Update: Quote var name in no-unused-vars error messages (refs #3526) (Burak Yigit Kaya)
  • Update: Move methods to SourceCode (fixes #3516) (Nicholas C. Zakas)
  • Fix: Don't try too hard to find fault in no-implicit-coercion (refs #3402) (Burak Yigit Kaya)
  • Fix: Detect ternary operator in operator-linebreak rule (fixes #3274) (Burak Yigit Kaya)
  • Docs: Clearer plugin rule configuration (fixes #2022) (Nicholas C. Zakas)
  • Update: Add quotes around the label in no-empty-label error reports (fixes #3526) (Burak Yigit Kaya)
  • Docs: Turn off Liquid in example (Nicholas C. Zakas)
  • Docs: Mention CommonJS along with Node.js (fixes #3388) (Nicholas C. Zakas)
  • Docs: Make it clear which rules are recommended (fixes #3398) (Nicholas C. Zakas)
  • Docs: Add links to JSON Schema resources (fixes #3411) (Nicholas C. Zakas)
  • Docs: Add more info to migration guide (fixes #3439) (Nicholas C. Zakas)
  • Fix: ASI indentation issue (fixes #3514) (Burak Yigit Kaya)
  • Fix: Make no-implicit-coercion smarter about numerical expressions (fixes #3510) (Burak Yigit Kaya)
  • Fix: prefer-template had not been handling TemplateLiteral as literal node (fixes #3507) (Toru Nagashima)
  • Update: newline-after-var Allow comment + blank after var (fixes #2852) (Ian VanSchooten)
  • Update: Add unnecessary option to quote-props (fixes #3381) (Burak Yigit Kaya)
  • Fix: indent shouldn't check the last line unless it is a punctuator (fixes #3498) (Burak Yigit Kaya)
  • Fix: indent rule does not indent when doing multi-line chain calls (fixes #3279) (Burak Yigit Kaya)
  • Fix: sort-vars rule fails when memo is undefined (fixes #3474) (Burak Yigit Kaya)
  • Fix: brace-style doesn't report some closing brace errors (fixes #3486) (Burak Yigit Kaya)
  • Update: separate options for block and line comments in spaced-comment rule (fixes #2897) (Burak Yigit Kaya)
  • Fix: indent does not check FunctionDeclaration nodes properly (fixes #3173) (Burak Yigit Kaya)
  • Update: Added "properties" option to id-length rule to ignore property names. (fixes #3450) (Mathieu M-Gosselin)
  • Update: add new ignore pattern options to no-unused-vars (fixes #2321) (Mathias Schreck)
  • New: Protractor environment (fixes #3457) (James Whitney)
  • Docs: Added section to shareable config (Gregory Waxman)
  • Update: Allow pre-parsed code (fixes #1025, fixes #948) (Nicholas C. Zakas)

v1.2.1

20 Aug 17:37
Compare
Choose a tag to compare
  • Fix: "key-spacing" crashes eslint on object literal shorthand properties (fixes #3463) (Burak Yigit Kaya)
  • Fix: ignore leading space check for null elements in comma-spacing (fixes #3392) (Mathias Schreck)
  • Fix: prefer-arrow-callback false positive at recursive functions (fixes #3454) (Toru Nagashima)
  • Fix: one-var rule doesn’t have default options (fixes #3449) (Burak Yigit Kaya)
  • Fix: Refactor no-duplicate-case to be simpler and more efficient (fixes #3440) (Burak Yigit Kaya)
  • Docs: Fix trailing spaces in README (Nicholas C. Zakas)
  • Docs: Update gyandeeps and add byk (Nicholas C. Zakas)
  • Docs: Update plugins documentation for 1.0.0 (Nicholas C. Zakas)
  • Docs: object-curly-spacing doc is inaccurate about exceptions (Burak Yigit Kaya)
  • Fix: object-curly-spacing shows the incorrect column for opening brace (fixes #3438) (Burak Yigit Kaya)