Shopify / prettier-plugin-liquid

Prettier Liquid/HTML plugin
https://npm.im/@shopify/prettier-plugin-liquid
MIT License
93 stars 15 forks source link

Avoid the final new line on snippets #220

Closed bernier closed 5 months ago

bernier commented 5 months ago

It doesn't seem possible to disable this feature

I tried

"files.insertFinalNewline": false and "insertFinalNewLine": false

within .prettierrc and the VS Code settings without success

charlespwd commented 5 months ago

Unfortunately, final new line has nothing to do with the plugin. Could be a editorconfig, could be editor setting, but I don't think that's a prettier plugin specific issue. It could be general prettier config, but we don't have control over that as far as I am aware.