mirror of
https://github.com/antebudimir/eslint-plugin-vanilla-extract.git
synced 2025-12-31 08:53:33 +00:00
test ✅: add comprehensive test suite for CSS ordering rules
Add tests for all three CSS property ordering rules:
alphabetical-order,
concentric-order,
custom-order,
Tests cover all implemented vanilla-extract APIs, fontFace, globalFontFace, globalKeyframes, globalStyle, keyframes, style, and styleVariants.. Each test verifies both valid and invalid cases, along with proper auto-fixing functionality.
This commit is contained in:
parent
3e9bad1b02
commit
5f1e602dee
25 changed files with 3635 additions and 24 deletions
11
package.json
11
package.json
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antebudimir/eslint-plugin-vanilla-extract",
|
||||
"version": "1.4.0",
|
||||
"version": "1.4.1",
|
||||
"description": "ESLint plugin for enforcing CSS ordering in vanilla-extract styles",
|
||||
"author": "Ante Budimir",
|
||||
"license": "MIT",
|
||||
|
|
@ -46,6 +46,9 @@
|
|||
"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"
|
||||
},
|
||||
|
|
@ -61,16 +64,20 @@
|
|||
"@types/node": "^20.17.19",
|
||||
"@typescript-eslint/eslint-plugin": "^8.25.0",
|
||||
"@typescript-eslint/parser": "^8.25.0",
|
||||
"@typescript-eslint/rule-tester": "^8.26.0",
|
||||
"@typescript-eslint/utils": "^8.25.0",
|
||||
"@vanilla-extract/css": "^1.17.1",
|
||||
"@vanilla-extract/recipes": "^0.5.5",
|
||||
"@vitest/coverage-v8": "3.0.8",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint-config-prettier": "^10.0.2",
|
||||
"eslint-import-resolver-typescript": "^3.8.3",
|
||||
"eslint-plugin-eslint-plugin": "^6.4.0",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-vitest-rule-tester": "^1.1.0",
|
||||
"prettier": "^3.5.2",
|
||||
"typescript": "^5.7.3",
|
||||
"typescript-eslint": "^8.25.0"
|
||||
"typescript-eslint": "^8.25.0",
|
||||
"vitest": "^3.0.8"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue