Closed sbellone closed 1 year ago
jsdoc/newline-after-description was removed in eslint-plugin-jsdoc v42: https://github.com/gajus/eslint-plugin-jsdoc/compare/v41.1.2...v42.0.0
jsdoc/newline-after-description
eslint-plugin-jsdoc
It's replaced by jsdoc/tag-lines
jsdoc/tag-lines
To match the old behaviour, it needs to be configured with:
'any'
startLines: 1
endLines: null
(spotted because it makes the linting fail in Renderscript: https://github.com/algolia/renderscript/pull/797)
yarn install
cd packages/eslint-config-algolia
yarn lint
BREAKING CHANGE: package now depends on eslint-plugin-jsdoc@^43
Good point! I'll bump the version :+1:
jsdoc/newline-after-description
was removed ineslint-plugin-jsdoc
v42: https://github.com/gajus/eslint-plugin-jsdoc/compare/v41.1.2...v42.0.0It's replaced by
jsdoc/tag-lines
To match the old behaviour, it needs to be configured with:
'any'
to say that we don't enforce anything regarding if there are blank lines between tags or notstartLines: 1
to enforce having a blank line between the description and the tags (this is what was enforced byjsdoc/newline-after-description
)endLines: null
to not enforce anything after the tags(spotted because it makes the linting fail in Renderscript: https://github.com/algolia/renderscript/pull/797)
How to test
yarn install
cd packages/eslint-config-algolia
yarn lint
BREAKING CHANGE: package now depends on eslint-plugin-jsdoc@^43