We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Our lack of semicolons on Flow Type expressions like eg type Plugin = { name: string, } (see eg https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/redux/actions.js#L77) causes syntax highlighting to fail in Sublime Text, as documented in babel/babel-sublime#309. If we add semicolons in, highlighting works again.
Type
type Plugin = { name: string, }
A couple screenshots from my local environment:
Without semicolon:
With semicolon:
The text was updated successfully, but these errors were encountered:
We're a semicolon-less repo. Not sure adding semicolons in a handful of spots to workaround a bug in a editor's syntax highlighting makes sense?
Sorry, something went wrong.
Since there are repos that do not use semicolons, a better approach would be to fix the syntax highlighting rules for flow, as seen here:
babel/babel-sublime#309 (comment)
👍
No branches or pull requests
Our lack of semicolons on Flow
Type
expressions like egtype Plugin = { name: string, }
(see eg https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/redux/actions.js#L77) causes syntax highlighting to fail in Sublime Text, as documented in babel/babel-sublime#309. If we add semicolons in, highlighting works again.A couple screenshots from my local environment:
Without semicolon:
With semicolon:
The text was updated successfully, but these errors were encountered: