mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
volar-service-prettier
Volar plugin for prettier.
Installation
npm install volar-service-prettier
Usage
volar.config.js
module.exports = {
services: [
require('volar-service-prettier').create(
{
languages: ['html', 'css', 'scss', 'typescript', 'javascript'],
html: {
breakContentsFromTags: true,
},
ignoreIdeOptions: true,
},
// provide your prettier options, otherwise auto resolve config file by plugin
() => ({
// ...
})
),
],
};