ESLint v4.5.0 released

We just pushed ESLint v4.5.0, which is a minor release upgrade of ESLint. This release adds some new features andfixes several bugs found in the previous release.

Highlights

  • The indent rule can now be configured to ignore the indentation of specific types of syntax, using the ignoredNodes option. This can be useful if you disagree with some of the indentation choices made by the indent rule; instead of disabling the rule entirely when this happens, you can now configure it to avoid checking indentation for the specific cases that you want it to ignore.

Enhancements

  • decdd2c Update: allow arbitrary nodes to be ignored in indent (fixes #8594) (#9105) (Teddy Katz)
  • 79062f3 Update: fix indentation of multiline new.target expressions (#9116) (Teddy Katz)
  • bd09cd5 Update: avoid requiring NaN spaces of indentation (fixes #9083) (#9085) (Teddy Katz)

Bug Fixes

  • a4f53ba Fix: Include files with no messages in junit results (#9093) (#9094) (Sean DuBois)
  • f8add8f Fix: don't autofix with linter.verifyAndFix when fix: false is used (#9098) (Teddy Katz)

Documentation

  • 6ef734a Docs: add missing word in processor documentation (#9106) (Teddy Katz)
  • 77bcee4 Docs: update instructions for adding TSC members (#9086) (Teddy Katz)

Dependency Upgrades

  • d00e24f Upgrade: chalk to 2.x release (#9115) (Stephen Edgar)

Chores

  • 1d6a9c0 Chore: enable eslint-plugin/test-case-shorthand-strings (#9067) (薛定谔的猫)
  • c93a853 Chore: Remove extra space in blogpost template (#9088) (Kai Cataldo)
Js中文网,专注分享前端最新技术、大厂面试题、聊点程序员轶事、职场感悟,做前端技术的传播者.

加入前端布道师交流群

扫描二维码回复 加群 学习,与大厂大佬讨论技术.

BAT面试题大全