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

Flowtype quotes rule #473

Closed
Brianzchen opened this issue Mar 18, 2021 · 2 comments · Fixed by #475
Closed

Flowtype quotes rule #473

Brianzchen opened this issue Mar 18, 2021 · 2 comments · Fixed by #475

Comments

@Brianzchen
Copy link
Contributor

There is no rule to enforce single quotes or double quotes for type objects or aliases.

Any of these are valid and doesn't respect eslint's base quotes rule.

type A = 'test';
type B = "test";
type T = {
  test: "hello" | 'test',
  t: 'hello',
};
@gajus
Copy link
Owner

gajus commented Mar 18, 2021

PR would be accepted.

@gajus
Copy link
Owner

gajus commented Apr 12, 2021

🎉 This issue has been resolved in version 5.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants