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
Functions
Type Aliases
Namespaces
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)
- @arethetypeswrong/cli
- @babel/cli
- @babel/core
- @babel/eslint-parser
- @babel/plugin-syntax-class-properties
- @babel/plugin-transform-flow-strip-types
- @babel/preset-env
- @es-joy/escodegen
- @es-joy/jsdoc-eslint-parser
- @eslint/core
- @hkdobrev/run-if-changed
- @semantic-release/commit-analyzer
- @semantic-release/github
- @semantic-release/npm
- @types/chai
- @types/debug
- @types/espree
- @types/esquery
- @types/estree
- @types/json-schema
- @types/mocha
- @types/node
- @types/semver
- @types/spdx-expression-parse
- @typescript-eslint/types
- babel-plugin-add-module-exports
- babel-plugin-istanbul
- babel-plugin-transform-import-meta
- c8
- camelcase
- chai
- decamelize
- eslint
- eslint-config-canonical
- gitdown
- glob
- globals
- husky
- jsdoc-type-pratt-parser
- json-schema
- json-schema-to-typescript
- lint-staged
- mocha
- open-editor
- replace
- rimraf
- semantic-release
- typescript
- typescript-eslint
Peer Dependencies (1)
Badge
To add a badge like this oneto 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[](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>
- Updated .
Package analyzed in 4577 ms. - Missing or incorrect documentation? Open an issue for this package.