diff --git a/.prettierignore b/.prettierignore index 471d4bf0..a787976f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,12 +1,5 @@ -* - -!*.md -!*.mdx - -!*/ - assets/** static/** README.md CHANGELOG.md -Contributing.md \ No newline at end of file +CONTRIBUTING.md \ No newline at end of file diff --git a/package.json b/package.json index c300ca98..7258bf95 100644 --- a/package.json +++ b/package.json @@ -15,10 +15,10 @@ "typecheck": "tsc", "build-likec4": "likec4 build ./assets/likec4 --base /likec4 -o ./static/likec4", "build-git-batch": "docker run --rm -w $(pwd) -v $(pwd):$(pwd) quay.io/thegeeklab/git-batch", - "format:check": "prettier --check .", - "format:write": "prettier --write .", - "lint:md": "markdownlint-cli2 '**/*.{md,markdown}'", - "lint:md:fix": "markdownlint-cli2 --fix '**/*.{md,markdown}'" + "format:check": "prettier --check '**/*.{md,mdx,markdown}'", + "format:write": "prettier --write '**/*.{md,mdx,markdown}'", + "lint:md": "markdownlint-cli2 '**/*.{md,mdx,markdown}'", + "lint:md:fix": "markdownlint-cli2 --fix '**/*.{md,mdx,markdown}'" }, "dependencies": { "@docusaurus/core": "3.7.0",