mirror of
https://github.com/antebudimir/eslint-plugin-vanilla-extract.git
synced 2025-12-31 08:53:33 +00:00
Add comprehensive rule to detect and prevent empty CSS style blocks: - Identify style objects with no properties - Flag empty style blocks as potential code quality issues - Provide auto-fix capability to remove empty blocks - Handle edge cases like comments-only blocks This rule helps maintain cleaner codebases by eliminating empty style definitions that often result from incomplete refactoring or forgotten implementations, reducing confusion and unnecessary code.
89 lines
2.4 KiB
JSON
89 lines
2.4 KiB
JSON
{
|
|
"name": "@antebudimir/eslint-plugin-vanilla-extract",
|
|
"version": "1.6.0",
|
|
"description": "ESLint plugin for enforcing best practices in vanilla-extract CSS styles, including CSS property ordering and additional linting rules.",
|
|
"author": "Ante Budimir",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"eslint",
|
|
"eslintplugin",
|
|
"eslint-plugin",
|
|
"vanilla-extract",
|
|
"css",
|
|
"css-in-js",
|
|
"concentric",
|
|
"alphabetical",
|
|
"typescript",
|
|
"style",
|
|
"ordering",
|
|
"zero-runtime"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/antebudimir/eslint-plugin-vanilla-extract.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/antebudimir/eslint-plugin-vanilla-extract/issues"
|
|
},
|
|
"homepage": "https://github.com/antebudimir/eslint-plugin-vanilla-extract#readme",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md",
|
|
"!dist/**/__tests__",
|
|
"!dist/css-sample/"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"format": "prettier --write .",
|
|
"lint": "eslint src --ext .ts --fix --max-warnings 0",
|
|
"prepublishOnly": "pnpm run lint && pnpm run build",
|
|
"publish": "pnpm publish --access public",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"typecheck": "tsc --noEmit",
|
|
"version:update": "node scripts/update-version.mjs"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.18.0"
|
|
},
|
|
"packageManager": "pnpm@10.6.2",
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild"
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": ">=9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.0",
|
|
"@types/node": "^20.17.24",
|
|
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
"@typescript-eslint/parser": "^8.26.1",
|
|
"@typescript-eslint/rule-tester": "^8.26.1",
|
|
"@typescript-eslint/utils": "^8.26.1",
|
|
"@vanilla-extract/css": "^1.17.1",
|
|
"@vanilla-extract/recipes": "^0.5.5",
|
|
"@vitest/coverage-v8": "3.0.8",
|
|
"eslint": "^9.22.0",
|
|
"eslint-config-prettier": "^10.1.1",
|
|
"eslint-import-resolver-typescript": "^3.8.5",
|
|
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-vitest-rule-tester": "^1.1.0",
|
|
"prettier": "^3.5.3",
|
|
"typescript": "^5.8.2",
|
|
"typescript-eslint": "^8.26.1",
|
|
"vitest": "3.0.8"
|
|
}
|
|
}
|