diff --git a/CHANGELOG.md b/CHANGELOG.md index 237844ef..560527ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ Changelog", this file is a reverse-chronological list of merged pull requests. ## Open PR's +- [PR-142](https://github.com/itk-dev/devops_itkdev-docker/pull/142) - 2026-05-21 - + Add Prettier config for Taskfiles - [PR-135](https://github.com/itk-dev/devops_itkdev-docker/pull/135) - 2026-01-29 - Add Podman support with dynamic machine detection - [PR-126](https://github.com/itk-dev/devops_itkdev-docker/pull/126) - 2026-01-05 - diff --git a/config/drupal/yaml/.prettierrc.yaml b/config/drupal/yaml/.prettierrc.yaml new file mode 100644 index 00000000..018e6282 --- /dev/null +++ b/config/drupal/yaml/.prettierrc.yaml @@ -0,0 +1,11 @@ +# This file is copied from config/drupal/yaml/.prettierrc.yaml in https://github.com/itk-dev/devops_itkdev-docker. +# Feel free to edit the file, but consider making a pull request if you find a general issue with the file. + +# https://prettier.io/docs/configuration +overrides: + # https://taskfile.dev/docs/styleguide + - files: + - "Taskfile.{yml,yaml}" + options: + tabWidth: 2 + singleQuote: true diff --git a/config/symfony/yaml/.prettierrc.yaml b/config/symfony/yaml/.prettierrc.yaml index 12e08983..b1d7be19 100644 --- a/config/symfony/yaml/.prettierrc.yaml +++ b/config/symfony/yaml/.prettierrc.yaml @@ -3,6 +3,13 @@ # https://prettier.io/docs/configuration overrides: + # https://taskfile.dev/docs/styleguide + - files: + - "Taskfile.{yml,yaml}" + options: + tabWidth: 2 + singleQuote: true + # Symfony config - files: - "config/**/*.{yml,yaml}" diff --git a/templates/drupal-10/.prettierrc.yaml b/templates/drupal-10/.prettierrc.yaml new file mode 120000 index 00000000..410aa381 --- /dev/null +++ b/templates/drupal-10/.prettierrc.yaml @@ -0,0 +1 @@ +../../config/drupal/yaml/.prettierrc.yaml \ No newline at end of file diff --git a/templates/drupal-11/.prettierrc.yaml b/templates/drupal-11/.prettierrc.yaml new file mode 120000 index 00000000..410aa381 --- /dev/null +++ b/templates/drupal-11/.prettierrc.yaml @@ -0,0 +1 @@ +../../config/drupal/yaml/.prettierrc.yaml \ No newline at end of file diff --git a/templates/drupal-8/.prettierrc.yaml b/templates/drupal-8/.prettierrc.yaml new file mode 120000 index 00000000..410aa381 --- /dev/null +++ b/templates/drupal-8/.prettierrc.yaml @@ -0,0 +1 @@ +../../config/drupal/yaml/.prettierrc.yaml \ No newline at end of file diff --git a/templates/drupal-9/.prettierrc.yaml b/templates/drupal-9/.prettierrc.yaml new file mode 120000 index 00000000..410aa381 --- /dev/null +++ b/templates/drupal-9/.prettierrc.yaml @@ -0,0 +1 @@ +../../config/drupal/yaml/.prettierrc.yaml \ No newline at end of file diff --git a/templates/drupal/.prettierrc.yaml b/templates/drupal/.prettierrc.yaml new file mode 120000 index 00000000..410aa381 --- /dev/null +++ b/templates/drupal/.prettierrc.yaml @@ -0,0 +1 @@ +../../config/drupal/yaml/.prettierrc.yaml \ No newline at end of file