# eslint-plugin-clutter

> ESLint plugin for detecting redundant and unnecessary dependencies.

Latest version **0.1.2** (published 2020-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-clutter
pnpm add eslint-plugin-clutter
yarn add eslint-plugin-clutter
bun add eslint-plugin-clutter
```

## 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.1.2 |
| Published | 2020-09-02 |
| First published | 2020-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | James Garbutt |
| Maintainers | 43081j |
| Keywords | eslint, eslintplugin, webcomponents, wc |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-clutter
- Repository: https://github.com/43081j/notneeded
- Homepage: https://github.com/43081j/notneeded#readme
- Issues: https://github.com/43081j/notneeded/issues
- npm.io page: https://npm.io/package/eslint-plugin-clutter

## 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.1.2 (latest) — 2020-09-02
- 0.1.1 — 2020-05-08

## README

# eslint-plugin-clutter

ESLint plugin for detecting micro-dependencies and redundant packages.

The JavaScript ecosystem is filled with _clutter_:

* Micro-packages - one-liners, often with native equivalents you should
use instead
* Obsolete packages - packages made obsolete by a better, newer package. NPM
should take care of this but not all authors remember to mark their
packages as obsolete
* Obsolete packages (native replacements) - packages no longer needed because
the platform (e.g. browsers, node, etc.) support the functionality out
of the box

Micro-packages are a bad idea, a horrible idea. They are high risk,
often untrusted and usually completely unnecessary. Let's get rid of them.

## Install

```
$ npm i -D eslint eslint-plugin-clutter
```

## Usage

Add `clutter` to the plugins section of your `.eslintrc` file:

```json
{
  "plugins": ["clutter"]
}
```

Configure your rules like so:

```json
{
  "rules": {
    "clutter/no-unnecessary-dependency": "error"
  }
}
```

## Configuration

You may also extend the recommended configuration like so:

```json
{
  "extends": ["plugin:clutter/recommended"]
}
```

## Supported Rules

### Possible Errors (recommended)

| Rule                                                                    |                                                       |
| ----------------------------------------------------------------------- | ----------------------------------------------------- |
| [clutter/no-unnecessary-dependency](docs/rules/no-unnecessary-dependency.md) | Disallows unnecessary dependencies |

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