Skip to main content

eslint-plugin-write-good-comments-2

eslint-plugin-write-good-comments-2 improves source comments with write-good, retext-equality, retext-profanities, retext-spell, retext-readability, and descriptive task-comment enforcement so vague, inconsiderate, misspelled, or hard-to-read comment text is caught before it spreads through a codebase.

Installation

npm install --save-dev eslint-plugin-write-good-comments-2

Quick start

import writeGoodComments from "eslint-plugin-write-good-comments-2";

export default [writeGoodComments.configs.recommended];

Presets

PresetPreset page
🟡 writeGoodComments.configs.recommendedRecommended
🟣 writeGoodComments.configs.allAll

Shipped rules

Next steps

  • Open Getting Started in this sidebar for installation + usage details.
  • Browse Presets for preset-by-preset guidance.
  • Use Rules to review each shipped rule with examples and options.