@tb-dev/eslint-config 10.0.0 → 10.0.1

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 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("./dist-Dg02z52k.js"));
269
+ const plugin = await interopDefault(import("@unocss/eslint-config"));
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,4 +0,0 @@
1
- //#region node_modules/.pnpm/@unocss+eslint-config@66.6.7_eslint@10.2.0_jiti@2.6.1__typescript@6.0.2/node_modules/@unocss/eslint-config/dist/index.mjs
2
- var src_default = { extends: ["plugin:@unocss/recommended"] };
3
- //#endregion
4
- export { src_default as default };