r5n-labs/vscode-react-javascript-snippets

It does not put the semicolon at the end of line

ShvetsovaOlga opened this issue · 1 comments

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?

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.