@tb-dev/eslint-config 10.0.0 → 10.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/dist/index.js +4 -1
- package/package.json +1 -1
- package/dist/dist-Dg02z52k.js +0 -4
package/dist/index.js
CHANGED
|
@@ -266,7 +266,7 @@ async function vue(options) {
|
|
|
266
266
|
//#region src/lib/unocss.ts
|
|
267
267
|
async function unocss(options) {
|
|
268
268
|
if (!isEnabled(options.features, "unocss")) return {};
|
|
269
|
-
const plugin = await interopDefault(import("
|
|
269
|
+
const plugin = await interopDefault(import("@unocss/eslint-config/flat"));
|
|
270
270
|
const overrides = mapRules(options.overrides?.unocss ?? {}, (rule, value) => {
|
|
271
271
|
if (rule.startsWith("@unocss/")) return [rule, value];
|
|
272
272
|
else return [`@unocss/${rule}`, value];
|
|
@@ -274,7 +274,10 @@ async function unocss(options) {
|
|
|
274
274
|
return {
|
|
275
275
|
plugins: { "@unocss": plugin },
|
|
276
276
|
rules: {
|
|
277
|
+
"@unocss/blocklist": "off",
|
|
278
|
+
"@unocss/enforce-class-compile": "off",
|
|
277
279
|
"@unocss/order": "error",
|
|
280
|
+
"@unocss/order-attributify": "off",
|
|
278
281
|
...overrides
|
|
279
282
|
}
|
|
280
283
|
};
|
package/package.json
CHANGED
package/dist/dist-Dg02z52k.js
DELETED