# eslint-plugin-unocss

> ESLint plugin for UnoCSS

Latest version **0.0.1-alpha.3** (published 2023-02-07) · MIT license · 0 weekly downloads

## Install

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

## 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.3 |
| Published | 2023-02-07 |
| First published | 2022-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 13.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 84 |
| Author | Bae Junehyeon |
| Maintainers | devunt |
| Keywords | eslint, eslintplugin, eslint-plugin, unocss |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-unocss
- Repository: https://github.com/devunt/eslint-plugin-unocss
- Homepage: https://github.com/devunt/eslint-plugin-unocss#readme
- Issues: https://github.com/devunt/eslint-plugin-unocss/issues
- npm.io page: https://npm.io/package/eslint-plugin-unocss

## Dependencies (3)

- [synckit](https://npm.io/package/synckit.md) ^0.8.5
- [@unocss/core](https://npm.io/package/@unocss/core.md) ^0.49.4
- [@unocss/config](https://npm.io/package/@unocss/config.md) ^0.49.4

## 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.3 (latest) — 2023-02-07
- 0.0.1-alpha.2 — 2022-09-07
- 0.0.1-alpha.1 — 2022-09-06
- 0.0.1-alpha.0 — 2022-09-06

## README

# ESLint plugin for UnoCSS

This is a proof of concept ESLint plugin for [UnoCSS](https://github.com/unocss/unocss).

**Not ready for production use yet**

## Installation

```bash
$ pnpm add -D eslint-plugin-unocss
```

## Configuration

Use our preset to get reasonable defaults:

```yaml
extends:
  - plugin:unocss/recommended
```

## Exported rules

- `unocss/classnames-order` - Enforce a specific order for class names in your code.
- `unocss/no-duplicated-classnames` - Disallow duplicate class names in your code.
- `unocss/no-excessive-whitespaces` - Disallow excessive whitespaces in your code.

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