@lichthagel/eslint-config 1.0.35 → 1.0.37
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.cjs +9 -8
- package/dist/index.d.cts +524 -400
- package/dist/index.d.mts +524 -400
- package/dist/index.mjs +9 -8
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -411,14 +411,13 @@ const svelte = async (options = {}) => {
|
|
|
411
411
|
//#endregion
|
|
412
412
|
//#region src/configs/tailwindcss.ts
|
|
413
413
|
const tailwindcss = async () => {
|
|
414
|
+
var _recommendedConfig$na;
|
|
414
415
|
const { default: pluginTailwind } = await import("eslint-plugin-tailwindcss");
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
};
|
|
421
|
-
}), {
|
|
416
|
+
const recommendedConfig = pluginTailwind.configs.recommended;
|
|
417
|
+
return [{
|
|
418
|
+
...recommendedConfig,
|
|
419
|
+
name: (_recommendedConfig$na = recommendedConfig.name) === null || _recommendedConfig$na === void 0 ? void 0 : _recommendedConfig$na.replaceAll(":", "/")
|
|
420
|
+
}, {
|
|
422
421
|
name: "lichthagel/tailwindcss",
|
|
423
422
|
rules: {
|
|
424
423
|
"tailwindcss/classnames-order": "error",
|
|
@@ -470,7 +469,9 @@ var unicorn_default = [{
|
|
|
470
469
|
"unicorn/no-useless-undefined": ["error", { checkArguments: false }],
|
|
471
470
|
"unicorn/prevent-abbreviations": "off",
|
|
472
471
|
"unicorn/comment-content": "off",
|
|
473
|
-
"unicorn/consistent-boolean-name": "off"
|
|
472
|
+
"unicorn/consistent-boolean-name": "off",
|
|
473
|
+
"unicorn/name-replacements": "off",
|
|
474
|
+
"unicorn/no-top-level-assignment-in-function": "off"
|
|
474
475
|
}
|
|
475
476
|
}];
|
|
476
477
|
//#endregion
|