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

It does not put the semicolon at the end of line #284

Open
ShvetsovaOlga opened this issue Feb 7, 2023 · 1 comment
Open

It does not put the semicolon at the end of line #284

ShvetsovaOlga opened this issue Feb 7, 2023 · 1 comment

Comments

@ShvetsovaOlga
Copy link

It does not put the semicolon at the end of line.
For example
import React from 'react'

function Badge() {
return (

</div>

)
}

Can I solve the problem?

@hb20007
Copy link

hb20007 commented Apr 19, 2023

This can be solved by adding a new option, which, if enabled, adds the semicolons. Similar to the existing importReactOnTop option which is also used to customize the snippets.

It seems that prettierEnabled might also be useful here but I believe adding the option is better to make it possible in projects that do not use prettier as well.

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

No branches or pull requests

2 participants