- Updated ESLint version up to 8.14.0.
- Updated
eslint-plugin-reactversion. - 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
warnOnDuplicatesoption forreact/jsx-keyrule.
- Added
no-multi-assignrule.
- 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
ignoreDefaultValuesoption forno-magic-numbersrule. - Set
enforceForJSXoption forno-unused-expressionsrule.
- 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-arrowsconfig file containing stylistic rules related to arrow functions.
- Relax
@typescript-eslint/naming-conventionrule 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/typescriptandguard/typescript-ext). - Update ESLint and
eslint-plugin-reactversions and add new rules. - Add
guard/no-prettierandguard/test-jestconfigs.
- Set
as-neededoption forfunc-namesrule inguard/style.
- Relax
no-magic-numbers(fromguard) andno-trailing-spaces(fromguard/editor) rules.