evcc-io/prettier.config.js
Michael Geers 501789c7bf
Device Card: improve truncation (#30533)
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2026-06-05 10:13:47 +00:00

11 lines
388 B
JavaScript

/** @type {import("prettier").Config} */
export default {
printWidth: 100,
trailingComma: "es5",
plugins: ["prettier-plugin-sh"],
// mirror .editorconfig for editors that resolve prettier config without it (e.g. Zed)
overrides: [
{ files: ["*.vue", "*.sh"], options: { useTabs: true, tabWidth: 4 } },
{ files: "*.css", options: { useTabs: true, tabWidth: 2 } },
],
};