We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
require-meta-docs-url
If there is a folder that contains a rule index JS file and other util modules the pattern will require a wrong documentation
Let's say I have a rule in src/rules/my-cool-rule/index.js. Some other rule may be src/rules/my-other-rule.js
src/rules/my-cool-rule/index.js
src/rules/my-other-rule.js
The current behavior:
// eslint eslint-plugin/require-meta-docs-url: ["error", {"pattern": "src/rules/{{name}}.md"}] module.exports = { meta: { docs: { url: "src/rules/my-cool-rule/index.md" } } }; module.exports = { meta: { docs: { url: "src/rules/my-other-rule.md" } } };
The expected behavior:
// eslint eslint-plugin/require-meta-docs-url: ["error", {"pattern": "src/rules/{{name}}.md"}] module.exports = { meta: { docs: { url: "src/rules/my-cool-rule.md" } } }; module.exports = { meta: { docs: { url: "src/rules/my-other-rule.md" } } };
The rule should consider this case (index.js) and use a folder name
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If there is a folder that contains a rule index JS file and other util modules the pattern will require a wrong documentation
Let's say I have a rule in
src/rules/my-cool-rule/index.js
. Some other rule may besrc/rules/my-other-rule.js
The current behavior:
The expected behavior:
The rule should consider this case (index.js) and use a folder name
The text was updated successfully, but these errors were encountered: