@vuepress/eslint-config 8.2.1 → 8.3.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let _meteorlxy_eslint_config = require("@meteorlxy/eslint-config");
3
- //#region src/utils.ts
3
+ // src/utils.ts
4
4
  const extendsOverrides = (options, extended) => ({
5
5
  ...options,
6
6
  ...Object.fromEntries(Object.entries(extended).map(([key, value]) => [key, {
@@ -11,8 +11,7 @@ const extendsOverrides = (options, extended) => ({
11
11
  }
12
12
  }]))
13
13
  });
14
- //#endregion
15
- //#region src/vuepress.ts
14
+ // src/vuepress.ts
16
15
  const vuepress = async (options = {}, ...customConfigs) => (0, _meteorlxy_eslint_config.meteorlxy)(extendsOverrides(options, {
17
16
  javascript: { overrides: { "no-underscore-dangle": ["warn", { allow: ["__dirname"] }] } },
18
17
  typescript: { overrides: {
@@ -40,7 +39,6 @@ const vuepress = async (options = {}, ...customConfigs) => (0, _meteorlxy_eslint
40
39
  __VUE_PROD_DEVTOOLS__: "readonly"
41
40
  } }
42
41
  }, ...customConfigs);
43
- //#endregion
44
42
  Object.defineProperty(exports, "env", {
45
43
  enumerable: true,
46
44
  get: function() {
package/dist/index.d.cts CHANGED
@@ -1,10 +1,7 @@
1
1
  import { EslintOptions, env } from "@meteorlxy/eslint-config";
2
2
  import { Config } from "eslint/config";
3
-
4
- //#region src/vuepress.d.ts
5
- interface VuepressOptions extends Omit<EslintOptions, 'react'> {
3
+ export interface VuepressOptions extends Omit<EslintOptions, 'react'> {
6
4
  vue?: Exclude<EslintOptions['vue'], boolean>;
7
5
  }
8
- declare const vuepress: (options?: VuepressOptions, ...customConfigs: Config[]) => Promise<Config[]>;
9
- //#endregion
10
- export { VuepressOptions, env, vuepress };
6
+ export declare const vuepress: (options?: VuepressOptions, ...customConfigs: Config[]) => Promise<Config[]>;
7
+ export { env };
package/dist/index.d.mts CHANGED
@@ -1,10 +1,7 @@
1
1
  import { EslintOptions, env } from "@meteorlxy/eslint-config";
2
2
  import { Config } from "eslint/config";
3
-
4
- //#region src/vuepress.d.ts
5
- interface VuepressOptions extends Omit<EslintOptions, 'react'> {
3
+ export interface VuepressOptions extends Omit<EslintOptions, 'react'> {
6
4
  vue?: Exclude<EslintOptions['vue'], boolean>;
7
5
  }
8
- declare const vuepress: (options?: VuepressOptions, ...customConfigs: Config[]) => Promise<Config[]>;
9
- //#endregion
10
- export { VuepressOptions, env, vuepress };
6
+ export declare const vuepress: (options?: VuepressOptions, ...customConfigs: Config[]) => Promise<Config[]>;
7
+ export { env };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { env, meteorlxy, rules } from "@meteorlxy/eslint-config";
2
- //#region src/utils.ts
2
+ // src/utils.ts
3
3
  const extendsOverrides = (options, extended) => ({
4
4
  ...options,
5
5
  ...Object.fromEntries(Object.entries(extended).map(([key, value]) => [key, {
@@ -10,8 +10,7 @@ const extendsOverrides = (options, extended) => ({
10
10
  }
11
11
  }]))
12
12
  });
13
- //#endregion
14
- //#region src/vuepress.ts
13
+ // src/vuepress.ts
15
14
  const vuepress = async (options = {}, ...customConfigs) => meteorlxy(extendsOverrides(options, {
16
15
  javascript: { overrides: { "no-underscore-dangle": ["warn", { allow: ["__dirname"] }] } },
17
16
  typescript: { overrides: {
@@ -39,5 +38,4 @@ const vuepress = async (options = {}, ...customConfigs) => meteorlxy(extendsOver
39
38
  __VUE_PROD_DEVTOOLS__: "readonly"
40
39
  } }
41
40
  }, ...customConfigs);
42
- //#endregion
43
41
  export { env, vuepress };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/eslint-config",
3
- "version": "8.2.1",
3
+ "version": "8.3.0",
4
4
  "description": "ESLint config for VuePress Team",
5
5
  "homepage": "https://github.com/vuepress",
6
6
  "license": "MIT",
@@ -27,15 +27,15 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@meteorlxy/eslint-config": "^7.7.0",
31
- "eslint-plugin-vue": "^10.9.2",
32
- "vue-eslint-parser": "^10.4.1"
30
+ "@meteorlxy/eslint-config": "^7.10.0",
31
+ "eslint-plugin-vue": "^10.12.1",
32
+ "vue-eslint-parser": "^10.4.2"
33
33
  },
34
34
  "devDependencies": {
35
- "tsdown": "^0.22.3"
35
+ "tsdown": "^0.23.7"
36
36
  },
37
37
  "peerDependencies": {
38
- "eslint": "^10.6.0"
38
+ "eslint": "^10.14.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsdown",