ESLint v6.7.0 released

We just pushed ESLint v6.7.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Highlights

Suggestions API

This release contains a new Suggestions API for rule authors and integrations. You can read more about this exciting new feature here.

ignorePatterns in config files

This release adds a new ignorePatterns property in config files (including shareable configs) in order to control the files ESLint ignores. See also documentation.

New Rules

Deprecations

Please note that these deprecated features may be removed in a future major release of ESLint.

Features

Enhancements

5c68f5f Update: Add 'lexicalBindings' to no-implicit-globals and change messages (#11996) (Milos Djermanovic)

Update: Add 'lexicalBindings' to no-implicit-globals and change messages (#11996) (Milos Djermanovic) 97c745d Update: Report assignment expression location in no-cond-assign (#12465) (Milos Djermanovic)

Update: Report assignment expression location in no-cond-assign (#12465) (Milos Djermanovic) 0f01f3d Update: Check member expressions with this in operator-assignment (#12495) (Milos Djermanovic)

Update: Check member expressions with in operator-assignment (#12495) (Milos Djermanovic) 4f8a1ee Update: Add enforceForClassMembers option to no-useless-computed-key (#12110) (ark120202)

Update: Add enforceForClassMembers option to no-useless-computed-key (#12110) (ark120202) 41a78fd Update: improve location for semi and comma-dangle (#12380) (Chiawen Chen)

Update: improve location for semi and comma-dangle (#12380) (Chiawen Chen) b8030fc Update: deprecate personal config (fixes #11914, refs eslint/rfcs#32) (#12426) (Toru Nagashima)

Update: deprecate personal config (fixes #11914, refs eslint/rfcs#32) (#12426) (Toru Nagashima) 6503cb8 Update: Fix uglified object align in key-spacing (fixes #11414) (#12472) (YeonJuan)

Update: Fix uglified object align in key-spacing (fixes #11414) (#12472) (YeonJuan) 0f7edef Update: add react plugin config for eslint init (#12446) (Ibrahim Rouis)

Update: add react plugin config for eslint init (#12446) (Ibrahim Rouis) 448ff1e Update: Report '\08' and '\09' in no-octal-escape (fixes #12080) (#12526) (Milos Djermanovic)

Update: Report '\08' and '\09' in no-octal-escape (fixes #12080) (#12526) (Milos Djermanovic) 90305e0 Update: Depcrecate isSpaceBetweenTokens() (#12519) (Kai Cataldo)

Update: Depcrecate isSpaceBetweenTokens() (#12519) (Kai Cataldo) 990065e Update: curly multi-or-nest flagging semis on next line (fixes #12370) (#12378) (cherryblossom000)

Update: curly multi-or-nest flagging semis on next line (fixes #12370) (#12378) (cherryblossom000) 7e41355 Update: improve report location for space-infix-ops (#12324) (Chiawen Chen)

Update: improve report location for space-infix-ops (#12324) (Chiawen Chen) 94ff921 Update: Add capIsConstructor option to no-invalid-this (fixes #12271) (#12308) (Milos Djermanovic)

Update: Add capIsConstructor option to no-invalid-this (fixes #12271) (#12308) (Milos Djermanovic) c78f4a7 Update: Allow JSX exception in no-inline-comments (fixes #11270) (#12388) (Milos Djermanovic)

Bug Fixes

b336fbe Fix: indent rule with JSX spread props (#12581) (Nathan Woltman)

Fix: indent rule with JSX spread props (#12581) (Nathan Woltman) 62c7038 Fix: invalid token checking in computed-property-spacing (fixes #12198) (#12533) (YeonJuan)

Fix: invalid token checking in computed-property-spacing (fixes #12198) (#12533) (YeonJuan) 62623f9 Fix: preserve whitespace in multiline-comment-style (fixes #12312) (#12316) (Kai Cataldo)

Fix: preserve whitespace in multiline-comment-style (fixes #12312) (#12316) (Kai Cataldo) fed20bb Fix: require-await crash on global await (#12571) (Brad Zacher)

Fix: require-await crash on global await (#12571) (Brad Zacher) 40c8c32 Fix: improve report location for object-curly-spacing (#12563) (Milos Djermanovic)

Fix: improve report location for object-curly-spacing (#12563) (Milos Djermanovic) 1110045 Fix: ignore marker-only comments in spaced-comment (fixes #12036) (#12558) (Milos Djermanovic)

Fix: ignore marker-only comments in spaced-comment (fixes #12036) (#12558) (Milos Djermanovic) 0afb518 Fix: invalid autofix in function-call-argument-newline (fixes #12454) (#12539) (YeonJuan)

Fix: invalid autofix in function-call-argument-newline (fixes #12454) (#12539) (YeonJuan) 9e29e18 Fix: sourceCode#isSpaceBetweenTokens() checks non-adjacent tokens (#12491) (Kai Cataldo)

Fix: sourceCode#isSpaceBetweenTokens() checks non-adjacent tokens (#12491) (Kai Cataldo) bb556d5 Fix: curly multi reports single lexical declarations (fixes #11908) (#12513) (Milos Djermanovic)

Fix: curly reports single lexical declarations (fixes #11908) (#12513) (Milos Djermanovic) ac60621 Fix: unexpected autofix in prefer-const (fixes #12514) (#12521) (YeonJuan)

Fix: unexpected autofix in prefer-const (fixes #12514) (#12521) (YeonJuan) 084a8a6 Fix: no-cond-assign with always option reports switch case clauses (#12470) (Milos Djermanovic)

Documentation

60204a3 Docs: Added another Textmate 2 bundle. (#12580) (Ryan Fitzer)

Docs: Added another Textmate 2 bundle. (#12580) (Ryan Fitzer) 0a480f8 Docs: Change "Code Conventions" link in pull-requests.md (#12401) (Denis Sikuler)

Docs: Change "Code Conventions" link in pull-requests.md (#12401) (Denis Sikuler) 40791af Docs: clarify ignoreDestructuring option in the camelcase rule (#12553) (Milos Djermanovic)

Docs: clarify ignoreDestructuring option in the camelcase rule (#12553) (Milos Djermanovic) 0286b57 Docs: Clean up Getting Started Guide (#12544) (Nicholas C. Zakas)

Docs: Clean up Getting Started Guide (#12544) (Nicholas C. Zakas) 5868550 Docs: add notice about function keyword in keyword-spacing (#12524) (Pig Fang)

Docs: add notice about keyword in keyword-spacing (#12524) (Pig Fang) 4e142ea Docs: Update README team and sponsors (ESLint Jenkins)

Dependency Upgrades

f49f1e0 Upgrade: upgrade optionator to avoid license issue (fixes #11536) (#12537) (Pig Fang)

Upgrade: upgrade optionator to avoid license issue (fixes #11536) (#12537) (Pig Fang) 98e1d50 Upgrade: globals to v12.1.0 (#12296) (Tony Brix)

Build Related

287ca56 Build: update CI for Node.js 13 (#12496) (Toru Nagashima)

Chores

07d398d Chore: Add GitHub organization to Sponsor button (#12562) (Brandon Mills)

Chore: Add GitHub organization to Sponsor button (#12562) (Brandon Mills) a477707 Chore: Format style guide links so they can be clicked (#12189) (Ivan V)

Chore: Format style guide links so they can be clicked (#12189) (Ivan V) 575a98d Chore: Add funding field to package.json (#12543) (Nicholas C. Zakas)