Releases: xojs/eslint-config-xo-react
Releases · xojs/eslint-config-xo-react
v0.28.0
New rules
react/forward-ref-uses-ref
eec1c56react/jsx-props-no-spread-multi
4759e18react/checked-requires-onchange-or-readonly
ccb7cdareact/no-object-type-as-default-prop
a8ad744react/jsx-no-leaked-render
1336af5
Breaking
- Require Node.js 18.18 4765c29
- Migrate to flat config and require ESLint 9 (#35) 1cf2106
- Migrate config: https://eslint.org/docs/latest/use/configure/migration-guide
Improvements
- You no longer need the
eslint-plugin-react
andeslint-plugin-react-hooks
development dependencies. They are incldued in the config package.
v0.27.0
Breaking
New rules
Improvements
v0.26.0
Breaking
- Require Node.js 12 and ESLint 8 f8a5e48
New rules
react/no-invalid-html-attribute
3e87446react/no-arrow-function-lifecycle
dcb84c0react/no-namespace
c64b19e
Improvements
- Add option for
react/jsx-no-target-blank
f53a835
v0.25.0
v0.24.0
- Require ESLint 7 93f7886
- Add
react/jsx-no-constructed-context-values
rule f7fa79b - Add option to
react/jsx-no-target-blank
rule 32d74fd - Add option to
react/jsx-key
rule 261274b
v0.23.0
v0.22.0
v0.21.0
v0.20.0
- Require ESLint 6 7ee855e
- Add
react/jsx-curly-newline
rule c075fa8 - Add
react/jsx-props-no-multi-spaces
rule 01c920c - Add
react/prefer-read-only-props
rule 5038e53 - Add
react/state-in-constructor
rule 8e24a2f - Add
react/static-property-placement
rule ed408fc - Add option to the
react/jsx-key
rule c9fa2ea - Add option to the
react/no-string-refs
rule 8b3a5e9 - Add option to the
react/jsx-indent
rule 53591d3 - Add option to the
react/boolean-prop-naming
rule 9c5f070
v0.19.0
- Add the
eslint-plugin-react-hooks
plugin 51ecc0b