Skip to content

Commit e4260ee

Browse files
author
Gonzalo Diaz
committed
[CONFIG] Docker: prettier added to lint step.
1 parent 0cb9bb4 commit e4260ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ WORKDIR ${WORKDIR}
1717

1818
RUN apk add --update --no-cache make nodejs npm \
1919
&& apk add --update --no-cache yamllint \
20-
&& npm install -g --ignore-scripts markdownlint-cli
20+
&& npm install -g --ignore-scripts markdownlint-cli \
21+
&& npm install -g --ignore-scripts prettier
2122

2223
# [!TIP] Use a bind-mount to "/app" to override following "copys"
2324
# for lint and test against "current" sources in this stage
@@ -39,7 +40,7 @@ COPY ./package-lock.json ${WORKDIR}/package-lock.json
3940
COPY ./Makefile ${WORKDIR}/
4041

4142
# code linting conf
42-
COPY ./.prettierrc ${WORKDIR}/
43+
COPY ./.prettierrc.yaml ${WORKDIR}/
4344
COPY ./.prettierignore ${WORKDIR}/
4445
COPY ./eslint.config.js ${WORKDIR}/
4546
COPY ./.babelrc ${WORKDIR}/

0 commit comments

Comments
 (0)