ESLint v4.11.0 released
by Kai Cataldo - 10 November 2017We just pushed ESLint v4.11.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
npm installed formatters can now be specified with or without the package name's eslint-formatter-
prefix. Example:
npm install eslint-formatter-pretty
eslint -f pretty file.js
// equivalent:
eslint -f eslint-formatter-pretty file.js
Enhancements
Bug Fixes
- 7e3bf6a Fix: edge-cases of semi-style (#9560) (Toru Nagashima)
- e5a37ce Fix: object-curly-newline for flow code (#9458) (Tiddo Langerak)
- b7c5b19 Fix: Correct [object Object] output of error.data. (#9561) (Jonathan Pool)
- accc490 Fix: Files with no failures get "passing" testcase (#9547) (Samuel Levy)
- a9606a3 Fix: invalid tests with super (fixes #9539) (#9545) (Teddy Katz)
Documentation
- d4557a6 Docs: disallow use of the comma operator using no-restricted-syntax (#9585) (薛定谔的猫)
- 6672fae Docs: Fixed a typo on lines-between-class-members doc (#9603) (Moinul Hossain)
- 2542f04 Docs: Add missing options for
lines-around-comment
(#9589) (Clément Fiorio) - 51c8cf0 Docs: Disambiguate definition of Update tag (#9584) (Jonathan Pool)
- afc3c75 Docs: clarify what eslint-config-eslint is (#9582) (Teddy Katz)
- aedae9d Docs: fix spelling in valid-typeof example (#9574) (Maksim Degtyarev)
- 4c5aaf3 Docs: Fix typo in no-underscore-dangle rule (#9567) (Fabien Lucas)
- ab0f66d Docs: Add examples to better show rule coverage. (#9548) (Jonathan Pool)
- acccfbd Docs: Minor rephrase in
no-invalid-this
. (#9542) (Francisc) - 8f9c0fe Docs: improve id-match usage advice (#9544) (Teddy Katz)
- 06b491e Docs: fix duplicate entries in changelog (#9530) (Teddy Katz)
- 9cf4ebe Docs: add .md to link(for github users) (#9529) (薛定谔的猫)
Dependency Upgrades
Build Related
- cc2c7c9 Build: use Node 8 in appveyor (#9595) (薛定谔的猫)
- b6a7490 Build: ensure fuzzer tests get run with
npm test
(#9590) (Teddy Katz) - 1073bc5 Build: remove shelljs-nodecli (refs #9533) (#9588) (Teddy Katz)
- 7f37b1c Build: test Node 9 on Travis (#9556) (Teddy Katz)
Chores
- 4def876 Chore: avoid handling rules instances in config-validator (#9364) (Teddy Katz)
- fe5ac7e Chore: fix incorrect comment in safe-emitter.js (#9605) (Teddy Katz)
- 980ecd3 Chore: Update copyright and license info (#9599) (薛定谔的猫)
- 9064b9c Chore: add equalTokens in ast-utils. (#9500) (薛定谔的猫)
- 3623600 Chore: upgrade ajv@5.3.0 (#9557) (薛定谔的猫)
- 1b606cd Chore: Remove an indirect dependency on jsonify (#9444) (Rouven Weßling)
- 88d2303 Chore: Add object-property-newline tests to increase coverage. (#9553) (Jonathan Pool)
- 8e1a095 Chore: enable a modified version of multiline-comment-style on codebase (#9452) (Teddy Katz)
- cb60285 Chore: remove commented test for HTML formatter (#9532) (Teddy Katz)
- 2224733 Chore: use eslint-plugin-rulesdir instead of --rulesdir for self-linting (#9164) (Teddy Katz)