@antebudimir/eslint-plugin-vanilla-extract 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/index.js +1 -1
- package/package.json +11 -14
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @antebudimir/eslint-plugin-vanilla-extract
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@antebudimir/eslint-plugin-vanilla-extract)
|
|
4
|
+
|
|
5
|
+
An ESLint plugin for enforcing CSS ordering in [vanilla-extract](https://github.com/vanilla-extract-css/vanilla-extract) css styles. Available presets are for alphabetical and
|
|
4
6
|
[concentric](https://rhodesmill.org/brandon/2011/concentric-css/) CSS ordering. The plugin also supports a custom group ordering option based on groups available in concentric CSS.
|
|
5
7
|
|
|
6
8
|
## Features
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import customOrderRule from './css-rules/custom-order/rule-definition.js';
|
|
|
4
4
|
export const vanillaExtract = {
|
|
5
5
|
meta: {
|
|
6
6
|
name: '@antebudimir/eslint-plugin-vanilla-extract',
|
|
7
|
-
version: '1.0.
|
|
7
|
+
version: '1.0.2',
|
|
8
8
|
},
|
|
9
9
|
rules: {
|
|
10
10
|
'alphabetical-order': alphabeticalOrderRule,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antebudimir/eslint-plugin-vanilla-extract",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "ESLint plugin for enforcing CSS ordering in vanilla-extract styles",
|
|
5
5
|
"author": "Ante Budimir",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,21 +37,9 @@
|
|
|
37
37
|
"files": [
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "tsc",
|
|
42
|
-
"format": "prettier --write .",
|
|
43
|
-
"lint": "eslint src --ext .ts --fix --max-warnings 0",
|
|
44
|
-
"prepublishOnly": "pnpm run lint && pnpm run build",
|
|
45
|
-
"publish": "pnpm publish --access public",
|
|
46
|
-
"typecheck": "tsc --noEmit",
|
|
47
|
-
"version:major": "pnpm version major --no-git-tag-version",
|
|
48
|
-
"version:minor": "pnpm version minor --no-git-tag-version",
|
|
49
|
-
"version:patch": "pnpm version patch --no-git-tag-version"
|
|
50
|
-
},
|
|
51
40
|
"engines": {
|
|
52
41
|
"node": ">=20.18.3"
|
|
53
42
|
},
|
|
54
|
-
"packageManager": "pnpm@10.5.0",
|
|
55
43
|
"peerDependencies": {
|
|
56
44
|
"eslint": ">=9.0.0"
|
|
57
45
|
},
|
|
@@ -71,5 +59,14 @@
|
|
|
71
59
|
"prettier": "^3.5.2",
|
|
72
60
|
"typescript": "^5.7.3",
|
|
73
61
|
"typescript-eslint": "^8.25.0"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsc",
|
|
65
|
+
"format": "prettier --write .",
|
|
66
|
+
"lint": "eslint src --ext .ts --fix --max-warnings 0",
|
|
67
|
+
"typecheck": "tsc --noEmit",
|
|
68
|
+
"version:major": "pnpm version major --no-git-tag-version",
|
|
69
|
+
"version:minor": "pnpm version minor --no-git-tag-version",
|
|
70
|
+
"version:patch": "pnpm version patch --no-git-tag-version"
|
|
74
71
|
}
|
|
75
|
-
}
|
|
72
|
+
}
|