- Updated ESLint version up to 8.14.0.
- Updated
eslint-plugin-react
version. - Added the following rules:
no-constant-binary-expression
,no-unused-private-class-members
,react/no-arrow-function-lifecycle
,react/no-invalid-html-attribute
,react/no-namespace
,react/jsx-no-leaked-render
. - Added
warnOnDuplicates
option forreact/jsx-key
rule.
- Added
no-multi-assign
rule.
- Added the following rules:
no-nonoctal-decimal-escape
,no-unsafe-optional-chaining
,react/jsx-key
,react/jsx-no-constructed-context-values
,react/jsx-no-target-blank
. - Set
ignoreDefaultValues
option forno-magic-numbers
rule. - Set
enforceForJSX
option forno-unused-expressions
rule.
- Use full package path to extend local config files.
- Move TypeScript-related configuration files into separate package eslint-config-ts-guard (breaking change).
- Add
guard/proper-arrows
config file containing stylistic rules related to arrow functions.
- Relax
@typescript-eslint/naming-convention
rule for properties.
- Improve and fix TypeScript related rules.
- Update ESLint version up to 7.3.0 and add new rules.
- Add config files to lint TypeScript code (
guard/typescript
andguard/typescript-ext
). - Update ESLint and
eslint-plugin-react
versions and add new rules. - Add
guard/no-prettier
andguard/test-jest
configs.
- Set
as-needed
option forfunc-names
rule inguard/style
.
- Relax
no-magic-numbers
(fromguard
) andno-trailing-spaces
(fromguard/editor
) rules.