@cto.af/eslint-config 6.1.0 → 6.2.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.
Files changed (2) hide show
  1. package/jsdoc_ts.js +14 -2
  2. package/package.json +4 -4
package/jsdoc_ts.js CHANGED
@@ -5,8 +5,20 @@ export default defineConfig({
5
5
  '**/*.ts',
6
6
  ],
7
7
  rules: {
8
+ 'jsdoc/no-types': 'error', // Type info comes from TS
8
9
  'jsdoc/no-undefined-types': 'off', // Switch to typedoc
9
- 'jsdoc/require-param-type': 'off', // Not needed in TS
10
- 'jsdoc/require-returns-type': 'off', // Not needed in TS
10
+ 'jsdoc/require-next-type': 'off',
11
+ 'jsdoc/require-param-type': 'off',
12
+ 'jsdoc/require-property-type': 'off',
13
+ 'jsdoc/require-returns-type': 'off',
14
+ 'jsdoc/require-returns': ['error', {
15
+ checkConstructors: false,
16
+ checkGetters: false,
17
+ forceRequireReturn: false,
18
+ forceReturnsWithAsync: false,
19
+ publicOnly: true,
20
+ }],
21
+ 'jsdoc/require-throws-type': 'off',
22
+ 'jsdoc/require-yields-type': 'off',
11
23
  },
12
24
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cto.af/eslint-config",
3
- "version": "6.1.0",
3
+ "version": "6.2.0",
4
4
  "description": "hildjj's lint rules",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -14,13 +14,13 @@
14
14
  "url": "git+https://github.com/cto-af/eslint-config.git"
15
15
  },
16
16
  "dependencies": {
17
- "@eslint/json": "0.13.2",
17
+ "@eslint/json": "0.14.0",
18
18
  "@stylistic/eslint-plugin": "5.5.0",
19
19
  "eslint-plugin-n": "17.23.1",
20
20
  "eslint-plugin-redos": "4.4.5",
21
- "globals": "16.4.0"
21
+ "globals": "16.5.0"
22
22
  },
23
- "packageManager": "pnpm@10.20.0",
23
+ "packageManager": "pnpm@10.22.0",
24
24
  "engines": {
25
25
  "node": ">=20"
26
26
  }