diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-21 21:56:55 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-21 21:56:55 +0300 |
| commit | c735556726e75428550a3d28a2cf58e2c8490b7d (patch) | |
| tree | fd0ae29d1636b825abeedff6b99d3376bb383135 /.prettierrc.cjs | |
Initial template
Diffstat (limited to '.prettierrc.cjs')
| -rw-r--r-- | .prettierrc.cjs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.prettierrc.cjs b/.prettierrc.cjs new file mode 100644 index 0000000..752ef12 --- /dev/null +++ b/.prettierrc.cjs @@ -0,0 +1,13 @@ +/** @type {import('prettier').Config} */ +module.exports = { + printWidth: 120, + semi: true, + singleQuote: true, + tabWidth: 2, + trailingComma: 'es5', + useTabs: false, + + plugins: [require.resolve('prettier-plugin-astro')], + + overrides: [{ files: '*.astro', options: { parser: 'astro' } }], +}; |
