1.0.20 • Published 8 months ago

eslint-plugin-verify-tsdoc v1.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

eslint-plugin-verify-tsdoc

Ensures that all typescript exported types and classes have valid TSDoc comments.

This is a small hack using the index.js from eslint-plugin-tsdoc to intercept and ignore the 'tsdoc-param-tag-with-invalid-name' messages which are detected in @microsoft/tsDoc library.

Also based on some code from https://gist.github.com/nbouvrette/ f2c90316533e5a6c1f7702e35e4a586a to verify typeDoc parms match the function definition.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-verify-tsdoc:

npm install pick68/eslint-plugin-verify-tsdoc --save-dev

Usage

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

{
    "plugins": [
        "@pick68/verify-tsdoc"
    ]
}

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

{
    "rules": {
        "@pick68/verify-tsdoc": "error"
    }
}
1.0.20

8 months ago

1.0.19

9 months ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago