eslint-plugin-jsdoc 64.0.0 → 64.0.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.
- package/dist/index.d.ts +14 -0
- package/package.json +1 -1
- package/src/index.js +19 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
export default index;
|
|
2
|
+
/** @type {import('eslint').ESLint.Plugin['rules']} */
|
|
3
|
+
export const rules: import("eslint").ESLint.Plugin["rules"];
|
|
4
|
+
/**
|
|
5
|
+
* @type {Record<
|
|
6
|
+
* FlatConfigNames,
|
|
7
|
+
* import('eslint').Linter.Config
|
|
8
|
+
* > &
|
|
9
|
+
* Record<
|
|
10
|
+
* "examples"|"default-expressions"|"examples-and-default-expressions",
|
|
11
|
+
* import('eslint').Linter.Config[]
|
|
12
|
+
* > &
|
|
13
|
+
* Record<"flat/recommended-mixed", import('eslint').Linter.Config[]>
|
|
14
|
+
} */
|
|
15
|
+
export const configs: Record<FlatConfigNames, import("eslint").Linter.Config> & Record<"examples" | "default-expressions" | "examples-and-default-expressions", import("eslint").Linter.Config[]> & Record<"flat/recommended-mixed", import("eslint").Linter.Config[]>;
|
|
2
16
|
/**
|
|
3
17
|
* @type {((
|
|
4
18
|
* cfg?: import('eslint').Linter.Config & {
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -762,6 +762,25 @@ index.configs['flat/recommended-mixed'] = [
|
|
|
762
762
|
|
|
763
763
|
export default index;
|
|
764
764
|
|
|
765
|
+
// Named exports (rather than only properties of the default export) so that
|
|
766
|
+
// Node's `require(esm)` interop exposes `.rules`/`.configs` directly, as
|
|
767
|
+
// needed by legacy `plugin:jsdoc/*` config resolution in CJS.
|
|
768
|
+
/** @type {import('eslint').ESLint.Plugin['rules']} */
|
|
769
|
+
export const rules = index.rules;
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* @type {Record<
|
|
773
|
+
* FlatConfigNames,
|
|
774
|
+
* import('eslint').Linter.Config
|
|
775
|
+
* > &
|
|
776
|
+
* Record<
|
|
777
|
+
* "examples"|"default-expressions"|"examples-and-default-expressions",
|
|
778
|
+
* import('eslint').Linter.Config[]
|
|
779
|
+
* > &
|
|
780
|
+
* Record<"flat/recommended-mixed", import('eslint').Linter.Config[]>
|
|
781
|
+
} */
|
|
782
|
+
export const configs = index.configs;
|
|
783
|
+
|
|
765
784
|
/**
|
|
766
785
|
* @type {((
|
|
767
786
|
* cfg?: import('eslint').Linter.Config & {
|