eslint-plugin-jsdoc 56.0.1 → 56.0.2

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.
@@ -1 +1,5 @@
1
- export {};
1
+ import { getJsdocProcessorPlugin } from './getJsdocProcessorPlugin.js';
2
+ declare const _default: {
3
+ getJsdocProcessorPlugin: typeof getJsdocProcessorPlugin;
4
+ };
5
+ export = _default;
@@ -1,2 +1,6 @@
1
- import iterateJsdoc from './iterateJsdoc.js';
2
- export = iterateJsdoc;
1
+ import { getSettings, parseComment, type JsdocVisitor, type RuleConfig } from './iterateJsdoc.js';
2
+ declare const exp: ((iterator: JsdocVisitor, ruleConfig: RuleConfig) => import("eslint").Rule.RuleModule) & {
3
+ getSettings: typeof getSettings;
4
+ parseComment: typeof parseComment;
5
+ };
6
+ export = exp;
@@ -1,3 +1,5 @@
1
1
  import {getJsdocProcessorPlugin} from './getJsdocProcessorPlugin.js';
2
2
 
3
- exports.getJsdocProcessorPlugin = getJsdocProcessorPlugin;
3
+ export = {
4
+ getJsdocProcessorPlugin: getJsdocProcessorPlugin as typeof getJsdocProcessorPlugin
5
+ };
@@ -1,6 +1,11 @@
1
- import iterateJsdoc, {getSettings, parseComment} from './iterateJsdoc.js';
1
+ import iterateJsdoc, {getSettings, parseComment, type JsdocVisitor, type RuleConfig} from './iterateJsdoc.js';
2
2
 
3
- export = iterateJsdoc;
3
+ const exp = iterateJsdoc as ((iterator: JsdocVisitor, ruleConfig: RuleConfig) => import('eslint').Rule.RuleModule) & {
4
+ getSettings: typeof getSettings,
5
+ parseComment: typeof parseComment
6
+ };
4
7
 
5
- exports.getSettings = getSettings;
6
- exports.parseComment = parseComment;
8
+ exp.getSettings = getSettings;
9
+ exp.parseComment = parseComment;
10
+
11
+ export = exp;
package/package.json CHANGED
@@ -171,5 +171,5 @@
171
171
  "test-cov": "TIMING=1 c8 --reporter text pnpm run test-no-cov",
172
172
  "test-index": "pnpm run test-no-cov test/rules/index.js"
173
173
  },
174
- "version": "56.0.1"
174
+ "version": "56.0.2"
175
175
  }
@@ -1,3 +1,5 @@
1
1
  import {getJsdocProcessorPlugin} from './getJsdocProcessorPlugin.js';
2
2
 
3
- exports.getJsdocProcessorPlugin = getJsdocProcessorPlugin;
3
+ export = {
4
+ getJsdocProcessorPlugin: getJsdocProcessorPlugin as typeof getJsdocProcessorPlugin
5
+ };
@@ -1,6 +1,11 @@
1
- import iterateJsdoc, {getSettings, parseComment} from './iterateJsdoc.js';
1
+ import iterateJsdoc, {getSettings, parseComment, type JsdocVisitor, type RuleConfig} from './iterateJsdoc.js';
2
2
 
3
- export = iterateJsdoc;
3
+ const exp = iterateJsdoc as ((iterator: JsdocVisitor, ruleConfig: RuleConfig) => import('eslint').Rule.RuleModule) & {
4
+ getSettings: typeof getSettings,
5
+ parseComment: typeof parseComment
6
+ };
4
7
 
5
- exports.getSettings = getSettings;
6
- exports.parseComment = parseComment;
8
+ exp.getSettings = getSettings;
9
+ exp.parseComment = parseComment;
10
+
11
+ export = exp;