prettier on Markdown only

This commit is contained in:
Zsolt Ero
2024-09-25 14:33:59 +02:00
parent d9faa2cfc2
commit a7347bf595
2 changed files with 3 additions and 18 deletions

View File

@@ -1,18 +0,0 @@
const config = {
printWidth: 100,
semi: false,
singleQuote: true,
arrowParens: 'avoid',
plugins: ['prettier-plugin-astro'],
overrides: [
{
files: '*.astro',
options: {
parser: 'astro',
},
},
],
}
module.exports = config

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env bash
node_modules/.bin/prettier -w "**/*.md"
# biome
#pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort
pnpm biome check --write --unsafe .