We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed90152 commit 2c0929dCopy full SHA for 2c0929d
prettier-markdown/Dockerfile
@@ -0,0 +1,7 @@
1
+FROM nixos/nix:2.32.1
2
+LABEL maintainer="Pat Brisbin <[email protected]>"
3
+RUN echo "experimental-features = nix-command flakes" > /etc/nix/nix.conf
4
+RUN nix profile install --impure 'github:NixOS/nixpkgs?rev=c8aa8cc00a5cb57fada0851a038d35c08a36a2bb#nodePackages.prettier'
5
+RUN mkdir -p /code
6
+WORKDIR /code
7
+CMD ["prettier", "--help"]
prettier-markdown/info.yaml
@@ -1,8 +1,10 @@
---
-overrides: prettier
+enabled: true
name: prettier-markdown
+version_cmd: |
+ prettier --version | sed 's/^/v/; s/$/-3/'
command:
- - /app/node_modules/.bin/prettier
+ - prettier
8
- "--write"
9
include:
10
- "**/*.md"
0 commit comments