{"size": 914, "ext": "js", "max_stars_repo_path": "rules/documentation.js", "max_stars_repo_name": "logic-warlock/eslint-conf", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "rules/documentation.js", "max_issues_repo_name": "logic-warlock/eslint-conf", "max_issues_repo_issues_event_min_datetime": "2021-10-18T14:52:51.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-18T14:52:51.000Z", "max_forks_repo_path": "rules/documentation.js", "max_forks_repo_name": "logic-warlock/eslint-config", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 29.4838709677, "max_line_length": 116, "alphanum_fraction": 0.6301969365}
module.exports = {
  rules: {
    // Documentation is important. Make sure we add it.
    // Rules can be found here: https://www.npmjs.com/package/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-no-types
    'jsdoc/require-jsdoc': [
      'error',
      {
        require: {
          FunctionDeclaration: true,
          MethodDefinition: true,
          ClassDeclaration: true,
          ArrowFunctionExpression: true,
          FunctionExpression: false,
        },
      },
    ],
    // All jsdoc comments should have a description
    'jsdoc/require-description': 'error',

    // All params should have a description
    'jsdoc/require-param-description': 'error',

    // All return tags should have a description
    'jsdoc/require-returns-description': 'error',

    // Param types should be used for JS/JSX files
    'jsdoc/require-param-type': 'error',
    'jsdoc/require-returns-type': 'error',
  },
}
