Skip to content

Releases: WealthSystems/eslint-config

1.0.0-alpha.11

01 Oct 19:07
Compare
Choose a tag to compare
1.0.0-alpha.11 Pre-release
Pre-release

Changed

  • default-param-last: turn on
  • function-call-argument-newline: turn on
  • no-import-assign: turn on
  • prefer-regex-literals: turn on
  • react/prefer-read-only-props: turn off
  • unicorn/consistent-function-scoping: turn on
  • unicorn/expiring-todo-comments: turn on
  • unicorn/prefer-dataset: turn on
  • unicorn/prefer-reflect-apply: turn on
  • unicorn/prefer-string-slice: turn on

Breaking changes

Now requires:

  • eslint@^6.5.0
  • eslint-plugin-unicorn@^12.0.0

1.0.0-alpha.10

17 Jul 19:11
Compare
Choose a tag to compare
1.0.0-alpha.10 Pre-release
Pre-release

Changed

  • no-unused-vars: allow destructuring to remove properties
  • react/no-did-update-set-state: change to warn due a lot of valid cases
  • react/require-optimization: turn off

1.0.0-alpha.9

16 Jul 21:40
Compare
Choose a tag to compare
1.0.0-alpha.9 Pre-release
Pre-release

Changed

  • no-misleading-character-class: turn on following eslint:recommended
  • no-prototype-builtins: turn on following eslint:recommended
  • remove options that are now default
  • function-paren-newline: change to the new option 'multiline-arguments'
  • prefer-named-capture-group: turn off new rule
  • import/no-unused-modules: turn on new rule to avoid unused files or dead code
  • promise/catch-or-return: allow finally
  • react/no-string-refs: disallow template literals as refs
  • react: configure new rules
  • unicorn: configure new rules
  • react/sort-comp: remove patterns that conflicts with arrow-functions

Breaking changes

Now requires:

  • eslint@^6.0
  • eslint-plugin-import@^2.18
  • eslint-plugin-promise@^4.2
  • eslint-plugin-react@^7.14
  • eslint-plugin-unicorn@^9.1

1.0.0-alpha.8

02 May 14:28
Compare
Choose a tag to compare
1.0.0-alpha.8 Pre-release
Pre-release

Changed

  • no-eq-null: turned off

1.0.0-alpha.7

16 Apr 12:16
Compare
Choose a tag to compare
1.0.0-alpha.7 Pre-release
Pre-release

Changed

  • camelcase: allow UNSAFE React methods
  • react/sort-comp: use default lifecycle group
  • react/no-unsafe: changed to warn

1.0.0-alpha.6

15 Apr 18:49
Compare
Choose a tag to compare
1.0.0-alpha.6 Pre-release
Pre-release

Changed

  • eqeqeq: allow non-strict equality when comparing with the null literal

1.0.0-alpha.5

11 Apr 11:24
Compare
Choose a tag to compare
1.0.0-alpha.5 Pre-release
Pre-release

Changed

  • class-methods-use-this: turned off
  • consistent-return: changed to warn
  • lines-between-class-members: allowed after single line
  • new-cap: allowed to properties
  • no-invalid-this: turned off
  • no-param-reassign: allowed to properties
  • no-unused-expressions: turned off
  • prefer-destructuring: turned off
  • import/prefer-default-export: turned off
  • promise/prefer-await-to-then: turned off
  • react/destructuring-assignment: turned off
  • react/sort-comp: changed patterns
  • react/jsx-handler-names: changed to warn

1.0.0-alpha.4

13 Feb 12:45
Compare
Choose a tag to compare
1.0.0-alpha.4 Pre-release
Pre-release

Changed

  • react/forbid-prop-types: allow 'any' and 'object'
  • react/require-default-props: turn off

1.0.0-alpha.3

12 Feb 17:21
Compare
Choose a tag to compare
1.0.0-alpha.3 Pre-release
Pre-release

Changed

  • multiline-comment-style: disabled
  • no-shadow: allow shadow confusing browser globals
  • import/no-extraneous-dependencies: allow devDependencies under config/**

1.0.0-alpha.2

12 Feb 12:25
Compare
Choose a tag to compare
1.0.0-alpha.2 Pre-release
Pre-release

Added

  • Engine validation for Node >= 8

Changed

  • Moved ESLint Plugins from dependencies to peerDependencies
  • import/extensions: Ignore extension validation on package import

Fixed

  • Fixed some typos