Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): Make any tag allowed #2314

Merged
merged 1 commit into from
Jun 24, 2020
Merged

fix(types): Make any tag allowed #2314

merged 1 commit into from
Jun 24, 2020

Conversation

stephenmathieson
Copy link
Member

@stephenmathieson stephenmathieson commented Jun 18, 2020

Tags (especially in custom rules) can be any string. Hard-coding this list prevents the ability to use custom tags.

This patch has the unfortunate side-effect of preventing intellisense in TypeScript-enabled editors, but provides more "technically correct" types.

Related #2312

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

Tags (especially in custom rules) can be any string. Hard-coding this list prevents the ability to use custom tags.

This patch has the unfortunate side-effect of preventing intellisense in TypeScript-enabled editors, but provides more "technically correct" types.

Related #2312
@stephenmathieson stephenmathieson requested a review from a team June 18, 2020 20:12
@stephenmathieson stephenmathieson requested a review from a team as a code owner June 18, 2020 20:12
@stephenmathieson stephenmathieson merged commit 5d98a04 into develop Jun 24, 2020
@stephenmathieson stephenmathieson deleted the tagvalue-string branch June 24, 2020 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants