Skip to content
This repository was archived by the owner on Aug 30, 2019. It is now read-only.

2.0.0

Latest

Choose a tag to compare

@mrmlnc mrmlnc released this 04 Jan 23:44
· 2 commits to master since this release

Breaking changes

  • Bump minimal required version of Node.js to 6+.
  • The no-self-assign rule requires type checking.

Warning

As with the original package, we have included a valid-jsdoc rule!

πŸ“– Now you must declare JSDoc with @param and @return without types.

New rules

  • padded-blocks
  • valid-jsdoc
  • no-else-after-return
  • no-extra-bind
  • max-statements-per-line
  • no-sequences
  • no-restricted-imports
  • no-restricted-modules
  • no-buffer-constructor
  • no-undef-init
  • yoda
  • no-warning-comments
  • no-self-compare
  • no-self-assign
  • no-multi-str
  • no-empty-pattern
  • no-useless-constructor
  • max-params

Old rules

  • no-unused-variable
  • no-use-before-declare
  • function-paren-newline

Fixes

  • The prefer-arrow-callback rule now includes allowNamedFunctions option.
  • The comment-format rule now includes ignorePattern option.
  • The linebreak-style rule now includes condition for severity based on the current platform. The rule will be disabled on Windows.
  • The variable-name rule now includes allow-leading-underscore and allow-trailing-underscore options.
  • The ban rule now use correct syntax for values.