# cssb-max-descendants

> A css-bouncer plugin for checking against the maximum length of descendants.

Latest version **0.0.1-alpha** (published 2014-09-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install cssb-max-descendants
pnpm add cssb-max-descendants
yarn add cssb-max-descendants
bun add cssb-max-descendants
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-alpha |
| Published | 2014-09-30 |
| First published | 2014-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Danny Fritz |
| Maintainers | dannyfritz |
| Keywords | cssb, css-bouncer, css, lint, descendant |

## Links

- npm: https://www.npmjs.com/package/cssb-max-descendants
- Repository: https://dannyfritz@github.com/dannyfritz/cssb-max-descendants
- Homepage: https://github.com/dannyfritz/cssb-max-descendants
- Issues: https://github.com/dannyfritz/cssb-max-descendants/issues
- npm.io page: https://npm.io/package/cssb-max-descendants

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^2.4.1

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.0.1-alpha (latest) — 2014-09-30

## README

cssb-max-descendants
====================

A css-bouncer plugin for checking against the maximum length of descendants.

## Usage

```js
var cssb = require('css-bouncer');
var linter = cssb();
linter.rule('cssb-max-descendants');
var result = linter.lint('div .class #id > ul > li.class {}');
console.log(result);
//[ { location: '1:1',
//    level: 'error',
//    message: 'Descendent length for selector is too long! 5 is more than the maximum of 3.' } ]
```

---
_Source: https://npm.io/package/cssb-max-descendants · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
