eslint-plugin-unocss

0.0.1-alpha.3 • Public • Published

ESLint plugin for UnoCSS

This is a proof of concept ESLint plugin for UnoCSS.

Not ready for production use yet

Installation

$ pnpm add -D eslint-plugin-unocss

Configuration

Use our preset to get reasonable defaults:

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.1-alpha.313latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.1-alpha.313
0.0.1-alpha.24
0.0.1-alpha.11
0.0.1-alpha.02

Package Sidebar

Install

npm i eslint-plugin-unocss

Weekly Downloads

20

Version

0.0.1-alpha.3

License

MIT

Unpacked Size

13.4 kB

Total Files

15

Last publish

Collaborators

  • devunt