Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rule documentation URLs and schemas (and eslint-plugin-eslint-plugin) #294

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

bmish
Copy link
Contributor

@bmish bmish commented Jun 18, 2021

eslint-plugin-eslint-plugin is a popular plugin for enforcing best practices for eslint plugins.

The main reason I added this is because I noticed that the mocha rules did not have URLs specified. URLs are necessary so that IDEs/editors can provide a convenient link to rule documentation when showing violations so that developers can better understand the rules. So I enabled the fully-autofixable rule eslint-plugin/require-meta-docs-url.

A few other violations were autofixed including duplicate test cases, the use of the deprecated report API, and adding missing empty schemas.

@bmish bmish changed the title Add eslint-plugin-eslint-plugin and rule documentation URLs Add rule documentation URLs (and eslint-plugin-eslint-plugin) Jun 26, 2021
@bmish bmish force-pushed the eslint-plugin-eslint-plugin branch from 581d244 to e1b7863 Compare October 10, 2021 19:01
[eslint-plugin-eslint-plugin](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin) is a popular plugin for enforcing best practices for eslint plugins.

The main reason I added this is because I noticed that the mocha rules did not have URLs specified. URLs are necessary so that IDEs/editors can provide a convenient link to rule documentation when showing violations so that developers can better understand the rules. So I enabled the fully-autofixable rule [eslint-plugin/require-meta-docs-url](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-docs-url.md).

A few other violations were autofixed including [duplicate test cases](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/no-identical-tests.md) and the use of the [deprecated report API](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/no-deprecated-report-api.md).
@bmish bmish force-pushed the eslint-plugin-eslint-plugin branch from e1b7863 to b692a5f Compare October 15, 2021 17:32
Copy link
Owner

@lo1tuma lo1tuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late response and thank you very much for this improvement.

@lo1tuma lo1tuma merged commit 8756355 into lo1tuma:master Oct 15, 2021
@bmish bmish changed the title Add rule documentation URLs (and eslint-plugin-eslint-plugin) Add rule documentation URLs and schemas (and eslint-plugin-eslint-plugin) Oct 15, 2021
@bmish bmish deleted the eslint-plugin-eslint-plugin branch December 8, 2021 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants