Skip to content

bmarotta-ease/eslint-plugin-require-tsdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-tsdoc-require

Ensures that all typescript exported types and classes have TSDoc comments

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-tsdoc-require:

npm install eslint-plugin-tsdoc-require --save-dev

Usage

Add tsdoc-require to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "tsdoc-require"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "tsdoc-require/require": 2
    }
}

Rules

Name    Description
require Ensures that all typescript exported types and classes have TSDoc comments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published