@favorodera/eslint-config 0.0.8 → 0.0.9
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/dist/index.mjs +12 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1034,7 +1034,19 @@ async function tailwind(options) {
|
|
|
1034
1034
|
name: "favorodera/tailwind/rules",
|
|
1035
1035
|
rules: {
|
|
1036
1036
|
...renamePluginsInRules(baseRules, { "better-tailwindcss": "tailwind" }),
|
|
1037
|
+
"tailwind/enforce-consistent-class-order": ["error", {
|
|
1038
|
+
componentClassOrder: "asc",
|
|
1039
|
+
componentClassPosition: "start",
|
|
1040
|
+
order: "strict",
|
|
1041
|
+
unknownClassOrder: "asc",
|
|
1042
|
+
unknownClassPosition: "start"
|
|
1043
|
+
}],
|
|
1044
|
+
"tailwind/enforce-consistent-important-position": "off",
|
|
1037
1045
|
"tailwind/enforce-consistent-line-wrapping": ["error", { group: "emptyLine" }],
|
|
1046
|
+
"tailwind/enforce-consistent-variable-syntax": "off",
|
|
1047
|
+
"tailwind/enforce-consistent-variant-order": "error",
|
|
1048
|
+
"tailwind/enforce-logical-properties": "error",
|
|
1049
|
+
"tailwind/enforce-shorthand-classes": "off",
|
|
1038
1050
|
...resolved.overrides
|
|
1039
1051
|
}
|
|
1040
1052
|
}];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@favorodera/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.9",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Opinionated, type-safe flat ESLint configuration factory for Vue, TypeScript, Tailwind, and more.",
|
|
7
7
|
"author": "Favour Emeka <favorodera@gmail.com>",
|