# jsdoc-for-public

This rule enforces writing JSDoc comments for public methods, getters, and setters. By default, it operates throughout the entire project.

Optionally, it accepts the following arguments:

- **excluded** - an array of files/folders to exclude.
- **description** - additional description of the rule (e.g., a link to Confluence).

```js
{
  "jsdoc-for-public": ["error", {
    excluded: ['src', 'pages'],
    description: 'Additional description'
  }],
}