Skip to content

Commit

Permalink
Chore: Adopt eslint-plugin/require-meta-docs-url rule internally (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish authored Jul 27, 2021
1 parent f9c164f commit 8be8a36
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 226 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module.exports = {
files: ["lib/rules/*"],
excludedFiles: ["index.js"],
rules: {
"internal-rules/consistent-docs-url": "error"
"eslint-plugin/require-meta-docs-url": ["error", { pattern: "https://eslint.org/docs/rules/{{name}}" }]
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"ejs": "^3.0.2",
"eslint": "file:.",
"eslint-config-eslint": "file:packages/eslint-config-eslint",
"eslint-plugin-eslint-plugin": "^3.2.0",
"eslint-plugin-eslint-plugin": "^3.4.0",
"eslint-plugin-internal-rules": "file:tools/internal-rules",
"eslint-plugin-jsdoc": "^25.4.3",
"eslint-plugin-node": "^11.1.0",
Expand Down
105 changes: 0 additions & 105 deletions tests/tools/internal-rules/consistent-docs-url.js

This file was deleted.

119 changes: 0 additions & 119 deletions tools/internal-rules/consistent-docs-url.js

This file was deleted.

0 comments on commit 8be8a36

Please sign in to comment.