Skip to content

v7.0.0

Latest
Compare
Choose a tag to compare
@MatthewHerbst MatthewHerbst released this 21 Dec 22:17

This release brings with it a slew of new rules to the config. Notably, there are now a bunch of added rules around arrow functions. We also update some of the existing rules based off of our current usage.

Added rules:

  • prefer-spread
  • prefer-rest-params
  • no-dupe-class-members
  • no-const-assign
  • arrow-spacing
  • prefer-promise-reject-errors
  • no-useless-return
  • no-useless-escape
  • no-useless-concat
  • no-useless-call
  • no-multi-spaces
  • no-loop-func
  • no-extra-label
  • no-empty-pattern
  • no-case-declarations
  • accessor-pairs
  • valid-typeof
  • use-isnan
  • no-unsafe-finally
  • no-unreachable
  • no-template-curly-in-string
  • no-sparse-arrays
  • no-regex-spaces
  • no-prototype-builtins
  • no-obj-calls
  • no-irregular-whitespace
  • no-invalid-regexp
  • no-extra-semi
  • no-extra-boolean-cast
  • no-ex-assign
  • no-empty-character-class
  • no-empty
  • no-duplicate-case
  • no-dupe-keys
  • no-dupe-args
  • no-debugger
  • no-control-regex
  • no-constant-condition
  • no-cond-assign
  • no-await-in-loop
  • getter-return
  • no-return-await
  • arrow-parens

Modified rules:

  • valid-jsdoc

Added Node rules:

  • no-process-exit
  • no-path-concat
  • no-new-require
  • global-require

This release also bumps the ESLint version from v4.0.0 -> v4.13.1.

Further, to solve some strange import issues we were seeing, we regenerated the yarn.lock file.