[DEPRECATED] eslint-plugin-jsdoc-alignment
JSDoc alignment rule for ESLint.
[2020-09-14] This package was deprecated in favor of this rule, introduced in eslint-plugin-jsdoc
through this PR.
This plugin was designed just to check the alignments for the tags param
, arg
, argument
, property
, and prop
. It can be used along eslint-plugin-jsdoc.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-jsdoc-alignment
:
$ npm install eslint-plugin-jsdoc-alignment --save-dev
Usage
Add jsdoc-alignment
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"jsdoc-alignment"
]
}
Then configure the rule to use under the rules section.
{
"rules": {
"jsdoc-alignment/lines-alignment": 2
}
}
Supported Rules