@tb-dev/eslint-config 10.0.1 → 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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
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("@unocss/eslint-config"));
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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",