Closed
Description
Expected behavior
No warnings should be printed / detected
I have setup following pattern: "^([A-Z`].*(\\.|:)|-\\s.*)$"
- Should start with a capital letter or backtick
[A-Z`]
- Followed by anything
.*
- Should end with a period or colon
(\\.|:)
- Or the whole line can be a bullet point (list entry)
-\\s.*
Actual behavior
71:0 warning JSDoc description does not satisfy the regex pattern jsdoc/match-description
ESLint Config
/**
* Enable or disable plugin.
*
* When enabling with this function, the script will be attached to the `document` if:
*
* - the script runs in browser context
* - the `document` doesn't have the script already attached
* - the `loadScript` option is set to `true`
*
* @param enabled `true` to enable, `false` to disable. Default: `true`.
*/
Environment
- Node version: v15.6.0
- ESLint version v7.20.0
eslint-plugin-jsdoc
version: 32.0.0
If I do anything wrong on my side, please explain how I can fix it 🙂