Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(eslint-plugin): add meta.docs.recommended setting for strict config options#8364
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
43943d2daa3513d4491b850ba30a98d1aa260ef4122c2f724df0bdfb3bc01eeb8ecd760e8aafaFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -62,7 +62,19 @@ export default createRule<Options, MessageId>({ | ||
| docs: { | ||
| description: | ||
| 'Enforce template literal expressions to be of `string` type', | ||
| recommended: { | ||
| recommended: true, | ||
| strict: [ | ||
| { | ||
| allowAny: false, | ||
| allowBoolean: false, | ||
| allowNullish: false, | ||
| allowNumber: false, | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Is
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. If you think there's a small typo in the docs like that, we'd welcome a PR :) thanks | ||
| allowRegExp: false, | ||
| allowNever: false, | ||
| }, | ||
| ], | ||
| }, | ||
| requiresTypeChecking: true, | ||
| }, | ||
| messages: { | ||
Uh oh!
There was an error while loading.Please reload this page.