cypress-io / eslint-plugin-cypress

An ESLint plugin for projects that use Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide meta prerequisites for automatic document generation

MikeMcC399 opened this issue · comments

This is a suggestion to provide or modify the necessary meta tags to enable automatic documentation generation using eslint-doc-generator.

ESLint doc generator recommendations

The ESLint organization recommends using the npm module eslint-doc-generator (Automatic documentation generator for ESLint plugins and rules) to support the generation of consistent documentation for ESLint plugins.

In its Configure Linting documentation it recommends the following:

... enable the recommended rules from eslint-plugin-eslint-plugin as well as:

Current compatibility

The repo is currently not compatible with the recommendations. The items in the following list can be checked off as they are addressed

Pass rules from:

The eslint-plugin/recommended rules fail due to meta.type and meta.schema. The rules eslint-plugin/require-meta-docs-description and eslint-plugin/require-meta-docs-url fail individually.

The set of 9 rules in this repo have now all been adjusted so that their meta properties pass linting for use with the eslint-doc-generator (Automatic documentation generator for ESLint plugins and rules).

The next step will be to apply the doc generator to the repo.