- 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
Now requires:
- eslint@^6.5.0
- eslint-plugin-unicorn@^12.0.0
- 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
- 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
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
- no-eq-null: turned off
- camelcase: allow UNSAFE React methods
- react/sort-comp: use default lifecycle group
- react/no-unsafe: changed to warn
- eqeqeq: allow non-strict equality when comparing with the
null
literal
- 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
- react/forbid-prop-types: allow 'any' and 'object'
- react/require-default-props: turn off
- multiline-comment-style: disabled
- no-shadow: allow shadow confusing browser globals
- import/no-extraneous-dependencies: allow devDependencies under
config/**
- Engine validation for Node >= 8
- Moved ESLint Plugins from
dependencies
topeerDependencies
- import/extensions: Ignore extension validation on package import
- Fixed some typos
- Initial configuration
- README explaining how to use this shared configuration
- This CHANGELOG