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
43943d2
daa3513
d4491b8
50ba30a
98d1aa2
60ef412
2c2f724
df0bdfb
3bc01ee
b8ecd76
0e8aafa
File 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
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.