# no-redundant-nested-style-rules

Rule `unicorn/no-redundant-nested-style-rules`. Moved to `eslint-cssicorn` as `cssicorn/no-redundant-nested-style-rules`.

- Source: unicorn
- Technologies: JavaScript
- Kind: style
- Needs type information: no
- Autofix: no
- Deprecated: yes
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #2019 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `unicorn/no-redundant-nested-style-rules` | no | no | package `eslint-plugin-unicorn` | [docs](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-redundant-nested-style-rules) |

## Enable it

### ESLint: `eslint.config.js`

```js
import unicorn from "eslint-plugin-unicorn";

export default [
  {
    plugins: { unicorn },
    rules: {
      "unicorn/no-redundant-nested-style-rules": "error",
    },
  },
];
```

## Related rules

- [unicorn/no-repeated-call-wrappers](https://lintradar.dev/rules/unicorn/no-repeated-call-wrappers.md): Disallow repeating the same wrapper at every call to a function.
- [unicorn/no-missing-local-resource](https://lintradar.dev/rules/unicorn/no-missing-local-resource.md): Disallow references to missing local resources.
- [unicorn/no-manually-wrapped-comments](https://lintradar.dev/rules/unicorn/no-manually-wrapped-comments.md): Disallow manually wrapped comments.
- [unicorn/no-keyword-prefix](https://lintradar.dev/rules/unicorn/no-keyword-prefix.md): Disallow identifiers starting with `new` or `class`.
- [unicorn/no-unnecessary-default-arguments](https://lintradar.dev/rules/unicorn/no-unnecessary-default-arguments.md): Disallow arguments that match their parameter defaults.
- [unicorn/no-unreadable-new-expression](https://lintradar.dev/rules/unicorn/no-unreadable-new-expression.md): Disallow unreadable `new` expressions.

---

Web page: https://lintradar.dev/rules/unicorn/no-redundant-nested-style-rules. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
