eslint-plugin-react-native-unistyles weekly downloads statistics
By RodSarhan · npm · ESLint plugins
React Native Unistyles rules for ESLint
eslint-plugin-react-native-unistyles has 18,865 recorded weekly downloads on npm.
About eslint-plugin-react-native-unistyles
ESLint Plugin for React Native Unistyles

ESLint rules for React Native Unistyles to help you write cleaner, more maintainable stylesheets.
📋 Requirements
- ESLint
- React Native Unistyles
^3.0.0
📦 Installation
Install the plugin as a dev dependency:
yarn add eslint-plugin-react-native-unistyles -D
⚙️ Configuration
ESLint Flat Config (Recommended)
For ESLint 9+ with flat config:
import { defineConfig } from 'eslint/config';
import unistyles from 'eslint-plugin-react-native-unistyles';
export default defineConfig([
// Your other configs...
unistyles.configs.recommended,
]);
Custom Configuration
import unistyles from 'eslint-plugin-react-native-unistyles';
export default defineConfig([
{
plugins: {
'react-native-unistyles': unistyles,
},
rules: {
'react-native-unistyles/no-unused-styles': 'error',
'react-native-unistyles/sort-styles': [
'warn',
'asc',
{
ignoreStyleNames: false,
ignoreStyleProperties: false
}
],
},
},
]);
Legacy Configuration (.eslintrc)
For older ESLint versions:
{
"extends": ["plugin:react-native-unistyles/legacy-recommended"]
}
Manual Rule Configuration
{
"plugins": ["react-native-unistyles"],
"rules": {
"react-native-unistyles/no-unused-styles": "warn",
"react-native-unistyles/sort-styles": [
"warn",
"asc",
{
"ignoreStyleNames": false,
"ignoreStyleProperties": false
}
]
}
}
Note
If it is not already the case you must also configure ESLint to support JSX.
{
"languageOptions": {
"parserOptions": {
"ecmaFeatures": {"jsx": true}
}
}
}
📖 Rules
| Rule | Description |
|---|---|
no-unused-styles | Detect unused stylesheet definitions |
sort-styles | Enforce sorted style properties |
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Inspired by eslint-plugin-react-native
- Built for React Native Unistyles by @jpudysz
📚 Related Projects
- React Native Unistyles - The styling library this plugin supports
- ESLint - The pluggable linting utility for JavaScript
Description from the npm listing.
- eslint
- eslint-plugin
- eslintplugin
- react
- react-native
- react native
- unistyles
- react-native-unistyles
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (1)Similar npm ESLint plugins plugins
All 20 eslint-plugin-react-native-unistyles alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-react-native-unistyles. First seen Oct 27, 2026; last successful collection Oct 27, 2026. See the methodology.