Skip to content

Commit 892bac7

Browse files
authored
Merge pull request #328 from sir-gon/develop
[CONFIG] Prettier JSON config added.
2 parents 2559028 + 25f8c6f commit 892bac7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.prettierrc.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
singleQuote: true
3+
quoteProps: preserve
4+
useTabs: false
5+
printWidth: 80
6+
tabWidth: 2
7+
trailingComma: none

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ COPY ./.yamllint ${WORKDIR}/
5353
COPY ./.yamlignore ${WORKDIR}/
5454
COPY ./.gitignore ${WORKDIR}/
5555

56+
# JSON linting conf
57+
COPY ./.prettierrc.yaml ${WORKDIR}/
58+
5659
CMD ["make", "lint"]
5760

5861
###############################################################################

0 commit comments

Comments
 (0)