Releases: eslint/eslint
Releases · eslint/eslint
v1.5.1
- 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 withthis
(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
- 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 conflictedarrow-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 withblock-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
v1.4.2
v1.4.1
- 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
- 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
withallowShortCircuit
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 forcatch
(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 withkeyword: 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 thecommonjs
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
v1.3.0
- Build: Autogenerate release blog post (fixes #3562) (Nicholas C. Zakas)
- New:
no-useless-concat
rule (fixes #3506) (Henry Zhu) - Update: Add
keywords
flag toconsistent-as-needed
mode inquote-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 toquote-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
- 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)
v1.2.0
- Update: add support for semicolon in comma-first setup in indent rule (fixes #3423) (Burak Yigit Kaya)
- Docs: better JSDoc for indent rule (Burak Yigit Kaya)
- Docs: Document the second argument of
CLIEngine.executeOnText()
(Sindre Sorhus) - New:
no-dupe-class-members
rule (fixes #3294) (Toru Nagashima) - Fix: exclude
AssignmentExpression
andProperty
nodes from extra indentation on first line (fixes #3391) (Burak Yigit Kaya) - Update: Separate indent options for var, let and const (fixes #3339) (Burak Yigit Kaya)
- Fix: Add AssignmentPattern to space-infix-ops (fixes #3380) (Burak Yigit Kaya)
- Docs: Fix typo: exception label (tienslebien)
- Update: Clean up tests for CLI config support (refs #2543) (Gyandeep Singh)
- New:
block-spacing
rule (fixes #3303) (Toru Nagashima) - Docs: Update docs for no-iterator (fixes #3405) (Nicholas C. Zakas)
- Upgrade: bump
espree
dependency to2.2.4
(fixes #3403) (Burak Yigit Kaya) - Fix: false positive on switch 'no duplicate case', (fixes #3408) (Cristian Carlesso)
- Fix:
valid-jsdoc
test does not recognize aliases for@param
(fixes #3399) (Burak Yigit Kaya) - New: enable
-c
flag to accept a shareable config (fixes #2543) (Shinnosuke Watanabe) - Fix: Apply plugin given in CLI (fixes #3383) (Ian VanSchooten)
- New: Add commonjs environment (fixes #3377) (Nicholas C. Zakas)
- Docs: Update no-unused-var docs (Nicholas C. Zakas)
- Fix: trailing commas in object-curly-spacing for import/export (fixes #3324) (Henry Zhu)
- Update: Make
baseConfig
to behave as other config options (fixes #3371) (Gyandeep Singh) - Docs: Add "Compatibility" section to linebreak-style (Vitor Balocco)
- New:
prefer-arrow-callback
rule (fixes #3140) (Toru Nagashima) - Docs: Clarify what an unused var is (fixes #2342) (Nicholas C. Zakas)
- Docs: Mention double-byte character limitation in max-len (fixes #2370) (Nicholas C. Zakas)
- Fix: object curly spacing incorrectly warning for import with default and multiple named specifiers (fixes #3370) (Luke Karrys)
- Fix: Indent rule errors with array of objects (fixes #3329) (Burak Yigit Kaya)
- Update: Make it clear that
space-infix-ops
supportconst
(fixes #3299) (Burak Yigit Kaya) - New:
prefer-template
rule (fixes #3014) (Toru Nagashima) - Docs: Clarify
no-process-env
docs (fixes #3318) (Nicholas C. Zakas) - Docs: Fix arrow name typo (fixes #3309) (Nicholas C. Zakas)
- Update: Improve error message for
indent
rule violation (fixes #3340) (Burak Yigit Kaya) - Fix: radix rule does not apply for Number.parseInt (ES6) (fixes #3364) (Burak Yigit Kaya)
- Fix:
key-spacing.align
doesn't pay attention to non-whitespace before key (fixes #3267) (Burak Yigit Kaya) - Fix: arrow-parens & destructuring/default params (fixes #3353) (Jamund Ferguson)
- Update: Add support for Allman to brace-style rule, brackets on newline (fixes #3347) (Burak Yigit Kaya)
- Fix: Regression no-catch-shadow (1.1.0) (fixes #3322) (Burak Yigit Kaya)
- Docs: remove note outdated in 1.0.0 (Denis Sokolov)
- Build: automatically convert line endings in release script (fixes #2642) (Burak Yigit Kaya)
- Update: allow disabling new-cap on object methods (fixes #3172) (Burak Yigit Kaya)
- Update: Improve checkstyle format (fixes #3183) (Burak Yigit Kaya)
- Fix: Indent rule errors if an array literal starts a new statement (fixes #3328) (Burak Yigit Kaya)
- Update: Improve validation error messages (fixes #3193) (Burak Yigit Kaya)
- Docs: fix syntax error in space-before-function-paren (Fabrício Matté)
- Fix:
indent
rule to check for last line correctly (fixes #3327) (Gyandeep Singh) - Fix: Inconsistent off-by-one errors with column numbers (fixes #3231) (Burak Yigit Kaya)
- Fix: Keyword "else" must not be followed by a newline (fixes #3226) (Burak Yigit Kaya)
- Fix:
id-length
does not work for most of the new ES6 patterns (fixes #3286) (Burak Yigit Kaya) - Fix: Spaced Comment Exceptions Not Working (fixes #3276) (Jamund Ferguson)