vue-i18n-locale-message icon indicating copy to clipboard operation
vue-i18n-locale-message copied to clipboard

Specify indentation when infusing

Open mrleblanc101 opened this issue 3 years ago • 2 comments

How do I use 4 space indentation instead of 2 space when infusing ? I tried to add --prettier=./.prettierrc when infusing, but it doesn't seem to work.

// .prettierrc
{
    "printWidth": 120,
    "tabWidth": 4,
    "semi": true,
    "singleQuote": true,
    "trailingComma": "all"
}

mrleblanc101 avatar Oct 25 '22 20:10 mrleblanc101

The same would be nice for extracting, but not necessary.

mrleblanc101 avatar Oct 25 '22 20:10 mrleblanc101

The plugin seem to detect the prettier file and load it correctly, but the replaced string still use 2 space for indentation. Capture d’écran, le 2022-10-25 à 17 14 24

mrleblanc101 avatar Oct 25 '22 21:10 mrleblanc101