junstyle / vscode-django-support

django formatter, highlight...
https://marketplace.visualstudio.com/items?itemName=junstyle.vscode-django-support
Apache License 2.0
4 stars 0 forks source link

Removes trailing semi colons from javascript in on-page <script> blocks #8

Closed geuis closed 1 year ago

geuis commented 1 year ago

Working in VS Code on a template page that is using blocks for javascript.

The formatter removes the semicolons.

Is this fixable, or a bug?

junstyle commented 1 year ago

formatted by prettier, can automatic search prettier config file in the dirs, such as .prettierrc, .prettier.json...;

so you can config to keep or remove semi please read prettier's config referrence