Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to flat config #35

Merged
merged 5 commits into from
Jan 21, 2025

Conversation

TaishiKobari
Copy link
Contributor

Hi, thank you for maintaining XO. I appreciate the work that goes into it.
This pull request includes significant updates to the ESLint flat config, improvements to the README, and dependency upgrades.
I hope this contribution is helpful to the XO community.

index.js Show resolved Hide resolved
@sindresorhus sindresorhus merged commit 1cf2106 into xojs:main Jan 21, 2025
3 checks passed
@sindresorhus
Copy link
Member

Thank you 🙏

renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Jan 21, 2025
##### [v0.28.0](https://github.com/xojs/eslint-config-xo-react/releases/tag/v0.28.0)

##### New rules

-   [`react/forward-ref-uses-ref`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forward-ref-uses-ref.md)  [`eec1c56`](xojs/eslint-config-xo-react@eec1c56)
-   [`react/jsx-props-no-spread-multi`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-spread-multi.md)  [`4759e18`](xojs/eslint-config-xo-react@4759e18)
-   [`react/checked-requires-onchange-or-readonly`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/checked-requires-onchange-or-readonly.md)  [`ccb7cda`](xojs/eslint-config-xo-react@ccb7cda)
-   [`react/no-object-type-as-default-prop`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-object-type-as-default-prop.md)  [`a8ad744`](xojs/eslint-config-xo-react@a8ad744)
-   [`react/jsx-no-leaked-render`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-leaked-render.md)  [`1336af5`](xojs/eslint-config-xo-react@1336af5)

##### Breaking

-   Require Node.js 18.18 [`4765c29`](xojs/eslint-config-xo-react@4765c29)
-   Migrate to flat config and require ESLint 9 ([#35](xojs/eslint-config-xo-react#35))  [`1cf2106`](xojs/eslint-config-xo-react@1cf2106)
    -   Migrate config: https://eslint.org/docs/latest/use/configure/migration-guide

##### Improvements

-   You no longer need the `eslint-plugin-react` and `eslint-plugin-react-hooks` development dependencies. They are incldued in the config package.

***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESLint Flat Configuration Structure Support
2 participants