mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
prettier on Markdown only
This commit is contained in:
@@ -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
|
|
||||||
3
lint.sh
3
lint.sh
@@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
|
node_modules/.bin/prettier -w "**/*.md"
|
||||||
|
|
||||||
# biome
|
# biome
|
||||||
#pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort
|
#pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort
|
||||||
pnpm biome check --write --unsafe .
|
pnpm biome check --write --unsafe .
|
||||||
|
|||||||
Reference in New Issue
Block a user