An ESLint plugin providing linting rules to enforce consistent and valid JSDoc comments in JavaScript and TypeScript code.
eslint-plugin-jsdoc is an ESLint plugin that provides a comprehensive set of linting rules specifically for JSDoc comments in JavaScript and TypeScript code. It helps developers enforce consistent and valid documentation by checking for errors in tag usage, type definitions, formatting, and completeness. The plugin solves the problem of inconsistent or incorrect JSDoc comments, which can lead to poor documentation quality and reduced tooling effectiveness.
JavaScript and TypeScript developers who use JSDoc for code documentation and want to enforce consistency and correctness automatically through linting. It is particularly useful for teams working on large codebases or projects where maintaining documentation standards is critical.
Developers choose eslint-plugin-jsdoc because it offers a specialized, highly configurable set of rules tailored for JSDoc, integrates seamlessly with ESLint, and includes auto-fix capabilities for many issues. It provides pre-configured rulesets for different environments (e.g., TypeScript, TSDoc), reducing setup time and ensuring best practices.
JSDoc specific linting rules for ESLint.
Offers over 50 specialized rules covering tag validation, type checking, consistency, and completeness, as detailed in the extensive rules table in the README.
Many rules support ESLint's auto-fix feature, automatically correcting issues like asterisk alignment and missing tags, reducing manual cleanup effort.
Provides pre-configured rulesets for TypeScript syntax and TSDoc, including 'flat/recommended-typescript' and 'flat/recommended-tsdoc', ensuring seamless integration with modern JavaScript ecosystems.
Supports multiple configuration methods (flat config and eslintrc) with granular rulesets, allowing teams to tailor linting to project-specific styles and requirements.
The README outlines multiple configuration approaches (flat config procedural/declarative, eslintrc), which can be overwhelming for users new to ESLint or JSDoc linting.
Some rules like 'check-examples' are deprecated, and granular configs exclude certain rules (e.g., 'require-description' is omitted for being 'too demanding'), indicating potential maintenance challenges or over-aggressiveness.
Enabling numerous rules, especially on large codebases, can add significant linting time, potentially slowing down development and CI/CD pipelines.
ESLint plugin for Tailwind CSS usage
:vertical_traffic_light: Check your GraphQL query strings against a schema.
ESLint parser, plugin, and rule set for GraphQL (for schema and operations). Easily customizable with custom rules. Integrates with IDEs and modern GraphQL tools.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.