This is a proof of concept ESLint plugin for UnoCSS.
Not ready for production use yet
$ pnpm add -D eslint-plugin-unocss
Use our preset to get reasonable defaults:
extends:
- plugin:unocss/recommended
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.