@vuebro/configs 1.1.9 → 1.1.11

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.
@@ -10,7 +10,6 @@ import jsDoc from "eslint-plugin-jsdoc";
10
10
  import { configs as packageJsonConfigs } from "eslint-plugin-package-json";
11
11
  import perfectionist from "eslint-plugin-perfectionist";
12
12
  import prettierConfigsRecommended from "eslint-plugin-prettier/recommended";
13
- import { configs as regexpConfigs } from "eslint-plugin-regexp";
14
13
  import vue from "eslint-plugin-vue";
15
14
  import vuePug from "eslint-plugin-vue-pug";
16
15
  export default defineConfigWithVueTs(gitignore(), {
@@ -22,7 +21,6 @@ export default defineConfigWithVueTs(gitignore(), {
22
21
  vueTsConfigs.stylisticTypeChecked,
23
22
  perfectionist.configs["recommended-natural"],
24
23
  jsDoc.configs["flat/recommended"],
25
- regexpConfigs["flat/recommended"],
26
24
  ],
27
25
  files: ["**/*.{ts,vue}"],
28
26
  rules: {
@@ -33,5 +31,18 @@ export default defineConfigWithVueTs(gitignore(), {
33
31
  whitelist: ["electron"],
34
32
  },
35
33
  ],
34
+ "jsdoc/require-jsdoc": [
35
+ "error",
36
+ {
37
+ require: {
38
+ ArrowFunctionExpression: true,
39
+ ClassDeclaration: true,
40
+ ClassExpression: true,
41
+ FunctionDeclaration: true,
42
+ FunctionExpression: true,
43
+ MethodDefinition: true,
44
+ },
45
+ },
46
+ ],
36
47
  },
37
48
  }, deMorganConfigs.recommended, importXConfigs.recommended, importXConfigs.typescript, dependConfigs["flat/recommended"], json.configs.recommended, markdown.configs.recommended, packageJsonConfigs.recommended, prettierConfigsRecommended);
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  endOfLine: "auto";
3
3
  plugins: string[];
4
+ tsdoc: boolean;
4
5
  };
5
6
  export default _default;
@@ -4,5 +4,7 @@ export default {
4
4
  "@prettier/plugin-pug",
5
5
  "prettier-plugin-tailwindcss",
6
6
  "prettier-plugin-packagejson",
7
+ "prettier-plugin-jsdoc",
7
8
  ],
9
+ tsdoc: true,
8
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuebro/configs",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "@vuebro/configs",
5
5
  "keywords": [
6
6
  "vuebro",
@@ -73,11 +73,11 @@
73
73
  "eslint-plugin-package-json": "^0.57.0",
74
74
  "eslint-plugin-perfectionist": "^4.15.1",
75
75
  "eslint-plugin-prettier": "^5.5.4",
76
- "eslint-plugin-regexp": "^2.10.0",
77
76
  "eslint-plugin-vue": "^10.5.1",
78
77
  "eslint-plugin-vue-pug": "^1.0.0-alpha.4",
79
78
  "jiti": "^2.6.1",
80
79
  "prettier": "^3.6.2",
80
+ "prettier-plugin-jsdoc": "^1.3.3",
81
81
  "prettier-plugin-packagejson": "^2.5.19",
82
82
  "prettier-plugin-tailwindcss": "^0.7.1",
83
83
  "pug": "^3.0.3",