@ncontiero/eslint-config 6.2.0 → 6.2.1

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.d.ts +23 -0
  2. package/package.json +10 -10
package/dist/index.d.ts CHANGED
@@ -1411,6 +1411,11 @@ interface RuleOptions {
1411
1411
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
1412
1412
  */
1413
1413
  'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>
1414
+ /**
1415
+ * Reports use of JSDoc tags in non-tag positions (in the default "typescript" mode).
1416
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/escape-inline-tags.md#repos-sticky-header
1417
+ */
1418
+ 'jsdoc/escape-inline-tags'?: Linter.RuleEntry<JsdocEscapeInlineTags>
1414
1419
  /**
1415
1420
  * Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
1416
1421
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
@@ -1621,6 +1626,11 @@ interface RuleOptions {
1621
1626
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
1622
1627
  */
1623
1628
  'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
1629
+ /**
1630
+ * Requires a description for `@template` tags
1631
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
1632
+ */
1633
+ 'jsdoc/require-template-description'?: Linter.RuleEntry<[]>
1624
1634
  /**
1625
1635
  * Requires that throw statements are documented with `@throws` tags.
1626
1636
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
@@ -7775,6 +7785,8 @@ type JsdocCheckTagNames = []|[{
7775
7785
 
7776
7786
  enableFixer?: boolean
7777
7787
 
7788
+ inlineTags?: string[]
7789
+
7778
7790
  jsxTags?: boolean
7779
7791
 
7780
7792
  typed?: boolean
@@ -7835,6 +7847,15 @@ type JsdocEmptyTags = []|[{
7835
7847
 
7836
7848
  tags?: string[]
7837
7849
  }]
7850
+ // ----- jsdoc/escape-inline-tags -----
7851
+ type JsdocEscapeInlineTags = []|[{
7852
+
7853
+ allowedInlineTags?: string[]
7854
+
7855
+ enableFixer?: boolean
7856
+
7857
+ fixType?: ("backticks" | "backslash")
7858
+ }]
7838
7859
  // ----- jsdoc/implements-on-classes -----
7839
7860
  type JsdocImplementsOnClasses = []|[{
7840
7861
 
@@ -8247,6 +8268,8 @@ type JsdocRequireReturnsCheck = []|[{
8247
8268
 
8248
8269
  exemptGenerators?: boolean
8249
8270
 
8271
+ noNativeTypes?: boolean
8272
+
8250
8273
  reportMissingReturnForUndefinedTypes?: boolean
8251
8274
  }]
8252
8275
  // ----- jsdoc/require-returns-description -----
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncontiero/eslint-config",
3
3
  "type": "module",
4
- "version": "6.2.0",
4
+ "version": "6.2.1",
5
5
  "description": "Nicolas's ESLint config.",
6
6
  "author": {
7
7
  "name": "Nicolas Contiero",
@@ -40,15 +40,15 @@
40
40
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
41
41
  "@eslint/markdown": "^7.3.0",
42
42
  "@next/eslint-plugin-next": "^15.5.4",
43
- "@typescript-eslint/eslint-plugin": "^8.44.1",
44
- "@typescript-eslint/parser": "^8.44.1",
43
+ "@typescript-eslint/eslint-plugin": "^8.45.0",
44
+ "@typescript-eslint/parser": "^8.45.0",
45
45
  "eslint-config-flat-gitignore": "^2.1.0",
46
46
  "eslint-merge-processors": "^2.0.0",
47
47
  "eslint-plugin-antfu": "^3.1.1",
48
48
  "eslint-plugin-command": "^3.3.1",
49
- "eslint-plugin-de-morgan": "^1.3.1",
49
+ "eslint-plugin-de-morgan": "^2.0.0",
50
50
  "eslint-plugin-import-x": "^4.16.1",
51
- "eslint-plugin-jsdoc": "^60.4.0",
51
+ "eslint-plugin-jsdoc": "^60.7.0",
52
52
  "eslint-plugin-jsonc": "^2.20.1",
53
53
  "eslint-plugin-jsx-a11y": "^6.10.2",
54
54
  "eslint-plugin-n": "^17.23.1",
@@ -73,22 +73,22 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@changesets/cli": "^2.29.7",
76
- "@commitlint/cli": "^20.0.0",
76
+ "@commitlint/cli": "^20.1.0",
77
77
  "@commitlint/config-conventional": "^20.0.0",
78
78
  "@ncontiero/changelog-github": "^2.1.1",
79
79
  "@ncontiero/prettier-config": "^1.0.0",
80
- "@tanstack/eslint-plugin-query": "^5.90.1",
80
+ "@tanstack/eslint-plugin-query": "^5.91.0",
81
81
  "@types/eslint-plugin-jsx-a11y": "^6.10.0",
82
- "@types/node": "^24.5.2",
82
+ "@types/node": "^24.6.1",
83
83
  "eslint": "^9.36.0",
84
84
  "eslint-typegen": "^2.3.0",
85
85
  "execa": "^9.6.0",
86
86
  "husky": "^9.1.7",
87
- "lint-staged": "^16.2.1",
87
+ "lint-staged": "^16.2.3",
88
88
  "tinyglobby": "^0.2.15",
89
89
  "tsup": "^8.5.0",
90
90
  "tsx": "^4.20.6",
91
- "typescript": "^5.9.2",
91
+ "typescript": "^5.9.3",
92
92
  "vitest": "^3.2.4"
93
93
  },
94
94
  "engines": {