-
-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Description
Expected behavior
The following code should not report any errors by default:
/**
* Example text. 🙂
*/
export const example = () => { };
Actual behavior
/Users/josh/repos/repros/index.js
2:1 error JSDoc description does not satisfy the regex pattern jsdoc/match-description
ESLint Config
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/match-description": "error",
},
},
];
ESLint sample
See earlier.
Environment
- Node version: 24.3.0
- ESLint version: 9.31.0
eslint-plugin-jsdoc
version: 51.4.1