@nest-boot/eslint-config 7.0.2 → 7.0.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @nest-boot/eslint-config
2
2
 
3
+ ## 7.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 3f42c62: add comprehensive TSDoc coverage and translate comments to English
8
+ - Updated dependencies [3f42c62]
9
+ - @nest-boot/eslint-plugin@7.0.5
10
+
3
11
  ## 7.0.2
4
12
 
5
13
  ### Patch Changes
package/eslint.config.mjs CHANGED
@@ -3,8 +3,10 @@ import nestBootPlugin from "@nest-boot/eslint-plugin";
3
3
  import tsParser from "@typescript-eslint/parser";
4
4
  import prettierConfig from "eslint-config-prettier";
5
5
  import simpleImportSort from "eslint-plugin-simple-import-sort";
6
+ import tsdocPlugin from "eslint-plugin-tsdoc";
6
7
  import tsEslint from "typescript-eslint";
7
8
 
9
+ // eslint-disable-next-line tsdoc/syntax
8
10
  /** @type {import('eslint').Linter.Config[]} */
9
11
  const config = [
10
12
  js.configs.recommended,
@@ -19,7 +21,6 @@ const config = [
19
21
  // TypeScript 和插件配置
20
22
  {
21
23
  languageOptions: {
22
- /** @type {import('eslint').Linter.Parser} */
23
24
  parser: tsParser,
24
25
  parserOptions: {
25
26
  projectService: true,
@@ -28,8 +29,12 @@ const config = [
28
29
  plugins: {
29
30
  "@nest-boot": nestBootPlugin,
30
31
  "simple-import-sort": simpleImportSort,
32
+ tsdoc: tsdocPlugin,
31
33
  },
32
34
  rules: {
35
+ // TSDoc 语法检查
36
+ "tsdoc/syntax": "error",
37
+
33
38
  // 基础规则
34
39
  "no-void": "off",
35
40
  "no-use-before-define": "off",
package/package.json CHANGED
@@ -1,33 +1,38 @@
1
1
  {
2
2
  "name": "@nest-boot/eslint-config",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/nest-boot/nest-boot.git",
7
+ "directory": "packages/eslint-config"
8
+ },
4
9
  "main": "eslint.config.mjs",
5
10
  "types": "eslint.config.d.ts",
6
11
  "license": "MIT",
7
12
  "devDependencies": {
8
- "@eslint/eslintrc": "^3.3.1",
9
- "@eslint/js": "^9.36.0",
10
- "@typescript-eslint/eslint-plugin": "^8.44.1",
11
- "@typescript-eslint/parser": "^8.44.1",
12
- "eslint": "^9.36.0",
13
+ "@eslint/eslintrc": "^3.3.3",
14
+ "@eslint/js": "^9.39.2",
15
+ "@typescript-eslint/eslint-plugin": "^8.51.0",
16
+ "@typescript-eslint/parser": "^8.51.0",
17
+ "eslint": "^9.39.2",
13
18
  "eslint-config-prettier": "^10.1.8",
14
19
  "eslint-plugin-simple-import-sort": "^12.1.1",
15
20
  "typescript": "^5.9.3",
16
21
  "typescript-eslint": "^8.46.2",
17
- "@nest-boot/eslint-plugin": "^7.0.2",
18
- "@nest-boot/tsconfig": "^7.0.0"
22
+ "@nest-boot/eslint-plugin": "^7.0.5",
23
+ "@nest-boot/tsconfig": "^7.0.1"
19
24
  },
20
25
  "peerDependencies": {
21
26
  "@eslint/eslintrc": "^3.0.0",
22
27
  "@eslint/js": "^9.0.0",
28
+ "@nest-boot/eslint-plugin": "^7.0.5",
23
29
  "@typescript-eslint/eslint-plugin": "^8.0.0",
24
30
  "@typescript-eslint/parser": "^8.0.0",
25
31
  "eslint": "^9.0.0",
26
32
  "eslint-config-prettier": "^10.0.0",
27
33
  "eslint-plugin-simple-import-sort": "^12.0.0",
28
34
  "typescript": "^5.0.0",
29
- "typescript-eslint": "^8.0.0",
30
- "@nest-boot/eslint-plugin": "^7.0.27.0.0"
35
+ "typescript-eslint": "^8.0.0"
31
36
  },
32
37
  "publishConfig": {
33
38
  "access": "public"
@@ -35,6 +40,9 @@
35
40
  "volta": {
36
41
  "extends": "../../package.json"
37
42
  },
43
+ "dependencies": {
44
+ "eslint-plugin-tsdoc": "^0.5.2"
45
+ },
38
46
  "scripts": {
39
47
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
40
48
  }