eslint-config-axkit 1.3.0 → 1.4.0
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.js +15 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -70,6 +70,21 @@ export async function axkit(options = {}) {
|
|
|
70
70
|
entryPoint: tailwindcss,
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
|
+
}, {
|
|
74
|
+
name: "axkit/tailwindcss-overrides",
|
|
75
|
+
rules: {
|
|
76
|
+
// Collapse multi-line className strings to single lines.
|
|
77
|
+
// Multi-line strings cause hydration mismatches in Next.js + Turbopack
|
|
78
|
+
// because the server preserves newlines while the client collapses them.
|
|
79
|
+
// See: https://github.com/tailwindlabs/tailwindcss/discussions/19582
|
|
80
|
+
"better-tailwindcss/no-unnecessary-whitespace": [
|
|
81
|
+
"error",
|
|
82
|
+
{ allowMultiline: false },
|
|
83
|
+
],
|
|
84
|
+
// Must be disabled — it enforces multi-line wrapping, which conflicts
|
|
85
|
+
// with allowMultiline: false above.
|
|
86
|
+
"better-tailwindcss/enforce-consistent-line-wrapping": "off",
|
|
87
|
+
},
|
|
73
88
|
});
|
|
74
89
|
}
|
|
75
90
|
// ── Prettier compatibility (must be last) ──────────────────────────
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "eslint-config-axkit",
|
|
3
3
|
"author": "Łukasz Jerciński",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.4.0",
|
|
6
6
|
"description": "Reusable ESLint flat config for TypeScript + Node.js projects with strict type checking, Prettier, Unicorn, and Vitest",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|