Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
I have tried restarting my IDE and the issue persists.N/A- I have updated to the latest version of the packages.
- I haveread the FAQ and my problem is not listed.
Repro
Going off the code snippet here:#4124 (comment)
The recommendedRuleCreator
adds a requirement to provide aurlCreator: (ruleName: string) => string
parameter. However, when writing rules that don't have a dedicated docs page -such as local one-of rules witheslint-plugin-local-rules, there should not be aurl
attached.
Can we make thaturlCreator
optional so that thedocs
doesn't attach aurl
if not needed?
Versions
package | version |
---|---|
@typescript-eslint/experimental-utils | 5.3.1 |
TypeScript | N/A |
node | N/A |