You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To my knowledge, eslint-plugin-jsdoc's recommended and recommended-typescript preset configs are the only popular ones in the ESLint community whose default severities are set to "warn" instead of "error". That means this is the only plugin whose config extends values mention severity.
(I haven't used other shared configs from this plugin, but the same thoughts apply to them)
Any thoughts, @gajus ? Parity might be nice, but eslint-plugin-jsdoc may be different from other plugins in not being critical enough to the average project to have as errors.
Motivation
To my knowledge,
eslint-plugin-jsdoc
'srecommended
andrecommended-typescript
preset configs are the only popular ones in the ESLint community whose default severities are set to"warn"
instead of"error"
. That means this is the only plugin whose config extends values mention severity.(I haven't used other shared configs from this plugin, but the same thoughts apply to them)
For example, in
create-typescript-app
,.ts
files receive the equivalent of:Current behavior
plugin:jsdoc/recommended
andplugin:jsdoc/recommended-typescript
set rules to"warn"
severityplugin:jsdoc/recommended-error
andplugin:jsdoc/recommended-typescript-error
set rules to"error"
severityDesired behavior
As a breaking change in a new major version:
plugin:jsdoc/recommended
andplugin:jsdoc/recommended-typescript
to"error"
severityplugin:jsdoc/recommended-error
andplugin:jsdoc/recommended-typescript-error
as@deprecated
plugin:jsdoc/recommended-warn
andplugin:jsdoc/recommended-typescript-warn
configs that set rules to"warn"
severityAlternatives considered
Keep things as they are, I suppose?
The text was updated successfully, but these errors were encountered: