@sxzz/eslint-config 3.7.3 → 3.7.4
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -274,7 +274,7 @@ var import_local_pkg = require("local-pkg");
|
|
|
274
274
|
var isInEditor = (import_node_process.default.env.VSCODE_PID || import_node_process.default.env.JETBRAINS_IDE) && !import_node_process.default.env.CI;
|
|
275
275
|
var hasTypeScript = (0, import_local_pkg.isPackageExists)("typescript");
|
|
276
276
|
var hasVue = (0, import_local_pkg.isPackageExists)("vue") || (0, import_local_pkg.isPackageExists)("nuxt") || (0, import_local_pkg.isPackageExists)("vitepress") || (0, import_local_pkg.isPackageExists)("@slidev/cli");
|
|
277
|
-
var hasUnocss = (0, import_local_pkg.isPackageExists)("unocss") || (0, import_local_pkg.isPackageExists)("@unocss/webpack");
|
|
277
|
+
var hasUnocss = (0, import_local_pkg.isPackageExists)("unocss") || (0, import_local_pkg.isPackageExists)("@unocss/webpack") || (0, import_local_pkg.isPackageExists)("@unocss/nuxt");
|
|
278
278
|
|
|
279
279
|
// src/configs/javascript.ts
|
|
280
280
|
var javascript = [
|
package/dist/index.js
CHANGED
|
@@ -171,7 +171,7 @@ import { isPackageExists } from "local-pkg";
|
|
|
171
171
|
var isInEditor = (process2.env.VSCODE_PID || process2.env.JETBRAINS_IDE) && !process2.env.CI;
|
|
172
172
|
var hasTypeScript = isPackageExists("typescript");
|
|
173
173
|
var hasVue = isPackageExists("vue") || isPackageExists("nuxt") || isPackageExists("vitepress") || isPackageExists("@slidev/cli");
|
|
174
|
-
var hasUnocss = isPackageExists("unocss") || isPackageExists("@unocss/webpack");
|
|
174
|
+
var hasUnocss = isPackageExists("unocss") || isPackageExists("@unocss/webpack") || isPackageExists("@unocss/nuxt");
|
|
175
175
|
|
|
176
176
|
// src/configs/javascript.ts
|
|
177
177
|
var javascript = [
|