FormidableLabs / FormidableLabs/eslint-plugin-react-native-a11y
How to use with flat config file in eslint9
- Dominant language
- JavaScript
- Stars
- 306
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
### Question
I'm trying to use plugin with flat config file format for eslint, but can't figure it out. Could you update the documentation to outline how this would work.
I tried the following (without success):
```
import tseslint from "typescript-eslint"
import RNA11y from "eslint-plugin-react-native-a11y"
const config = tseslint.config(
...
{
name: "a11y",
plugins: { ...RNA11y.configs.all.plugins },
rules: { ...RNA11y.configs.all.rules }
},
...
)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.