eslint-plugin-jsdoc

  • Version 61.0.0
  • Published
  • 3.28 MB
  • 12 dependencies
  • BSD-3-Clause license

Install

npm i eslint-plugin-jsdoc
yarn add eslint-plugin-jsdoc
pnpm add eslint-plugin-jsdoc

Overview

JSDoc linting rules for ESLint.

Index

Variables

variable index

const index: any;
  • {"recommended" | "stylistic" | "contents" | "logical" | "requirements"} ConfigGroups {"" | "-typescript" | "-typescript-flavor"} ConfigVariants {"" | "-error"} ErrorLevelVariants {import('eslint').ESLint.Plugin & { configs: Record< flat/${ConfigGroups}${ConfigVariants}${ErrorLevelVariants}, import('eslint').Linter.Config > & Record< "examples"|"default-expressions"|"examples-and-default-expressions", import('eslint').Linter.Config[] > & Record<"flat/recommended-mixed", import('eslint').Linter.Config[]> }}

variable jsdoc

const jsdoc: (cfg?: any) => any;
  • {(( cfg?: import('eslint').Linter.Config & { config?: flat/${ConfigGroups}${ConfigVariants}${ErrorLevelVariants}, mergeSettings?: boolean, settings?: Partial<import('./iterateJsdoc.js').Settings>, rules?: {[key in keyof import('./rules.d.ts').Rules]?: import('eslint').Linter.RuleEntry<import('./rules.d.ts').Rules[key]>}, extraRuleDefinitions?: { forbid?: { [contextName: string]: { description?: string, url?: string, contexts: (string|{ message: string, context: string, comment: string })[] } }, preferTypes?: { [typeName: string]: { description: string, overrideSettings: { [typeNodeName: string]: { message: string, replacement?: false|string, unifyParentAndChildTypeChecks?: boolean, } }, url: string, } } } } ) => import('eslint').Linter.Config)}

Functions

function getJsdocProcessorPlugin

getJsdocProcessorPlugin: (options?: JsdocProcessorOptions) => ESLint.Plugin;

    Type Aliases

    type ConfigGroups

    type ConfigGroups =
    | 'recommended'
    | 'stylistic'
    | 'contents'
    | 'logical'
    | 'requirements';

      type ConfigVariants

      type ConfigVariants = '' | '-typescript' | '-typescript-flavor';

        type ErrorLevelVariants

        type ErrorLevelVariants = '' | '-error';

          Namespaces

          namespace @babel/eslint-parser

          module '@babel/eslint-parser' {}

            namespace gitdown

            module 'gitdown' {}

              function readFile

              readFile: (path: string) => Gitdown;

                interface Gitdown

                interface Gitdown {}

                  property get

                  get: () => string;

                    property registerHelper

                    registerHelper: (
                    name: string,
                    helper: {
                    compile: () => string;
                    weight?: number;
                    }
                    ) => void;

                      property setConfig

                      setConfig: (info: {
                      gitinfo: {
                      defaultBranchName: string;
                      gitPath: string;
                      };
                      }) => void;

                        Package Files (4)

                        Dependencies (12)

                        Dev Dependencies (49)

                        Peer Dependencies (1)

                        Badge

                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/eslint-plugin-jsdoc.

                        • Markdown
                          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/eslint-plugin-jsdoc)
                        • HTML
                          <a href="https://www.jsdocs.io/package/eslint-plugin-jsdoc"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>