Skip to content

Commit 0f77b2f

Browse files
authored
Merge pull request #111 from itk-dev/hotfix/add-markdownlint-prettier
Added markdownlint and prettier services to templates
2 parents edc2fd7 + f63e6d5 commit 0f77b2f

32 files changed

+192
-32
lines changed

templates/drupal-10/docker-compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
services:
33
phpfpm:
44
environment:

templates/drupal-10/docker-compose.redirect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
services:
33
nginx:
44
labels:

templates/drupal-10/docker-compose.server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
networks:
33
frontend:
44
external: true

templates/drupal-10/docker-compose.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
networks:
33
frontend:
44
external: true
@@ -105,3 +105,22 @@ services:
105105
- "traefik.docker.network=frontend"
106106
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}mail.rule=Host(`mail-${COMPOSE_DOMAIN}`)"
107107
- "traefik.http.services.${COMPOSE_PROJECT_NAME}mail.loadbalancer.server.port=8025"
108+
109+
# Code checks tools
110+
markdownlint:
111+
image: itkdev/markdownlint
112+
profiles:
113+
- dev
114+
volumes:
115+
- ./:/md
116+
117+
prettier:
118+
# Prettier does not (yet, fcf.
119+
# https://github.com/prettier/prettier/issues/15206) have an official
120+
# docker image.
121+
# https://hub.docker.com/r/jauderho/prettier is good candidate (cf. https://hub.docker.com/search?q=prettier&sort=updated_at&order=desc)
122+
image: jauderho/prettier
123+
profiles:
124+
- dev
125+
volumes:
126+
- ./:/work

templates/drupal-11/docker-compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
services:
33
phpfpm:
44
environment:

templates/drupal-11/docker-compose.redirect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
services:
33
nginx:
44
labels:

templates/drupal-11/docker-compose.server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
networks:
33
frontend:
44
external: true

templates/drupal-11/docker-compose.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
networks:
33
frontend:
44
external: true
@@ -102,3 +102,22 @@ services:
102102
- "traefik.docker.network=frontend"
103103
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}mail.rule=Host(`mail-${COMPOSE_DOMAIN}`)"
104104
- "traefik.http.services.${COMPOSE_PROJECT_NAME}mail.loadbalancer.server.port=8025"
105+
106+
# Code checks tools
107+
markdownlint:
108+
image: itkdev/markdownlint
109+
profiles:
110+
- dev
111+
volumes:
112+
- ./:/md
113+
114+
prettier:
115+
# Prettier does not (yet, fcf.
116+
# https://github.com/prettier/prettier/issues/15206) have an official
117+
# docker image.
118+
# https://hub.docker.com/r/jauderho/prettier is good candidate (cf. https://hub.docker.com/search?q=prettier&sort=updated_at&order=desc)
119+
image: jauderho/prettier
120+
profiles:
121+
- dev
122+
volumes:
123+
- ./:/work

templates/drupal-7/docker-compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
services:
33
phpfpm:
44
environment:

templates/drupal-7/docker-compose.redirect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# itk-version: 3.2.3
1+
# itk-version: 3.2.4
22
services:
33
nginx:
44
labels:

0 commit comments

Comments
 (0)