Request: React Native plugin / rules (e.g. no-unused-styles) #18950
huextrat
started this conversation in
Feature Request
Replies: 1 comment 2 replies
-
|
It's not planned at present - have you tried using it as a custom plugin? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The ESLint plugin
eslint-plugin-react-nativeprovides several useful rules for React Native codebases. The most common rule isreact-native/no-unused-styles, which reports StyleSheet entries that are never used in the component, helping keep styles lean and avoid dead code.Other rules in that plugin (e.g.
no-inline-styles,no-color-literals,..) are also valuable for consistency and maintainability.Is there any plan to support a React Native plugin (or a dedicated set of rules) in oxlint so we could run this kind of checks?
Beta Was this translation helpful? Give feedback.
All reactions