From 94fd55384277580c7b1e4636ed34aa1dcf0839d4 Mon Sep 17 00:00:00 2001 From: Anthony Fitzroy Date: Tue, 20 Feb 2024 10:27:36 +0000 Subject: [PATCH] add .yamllint and .mdlrc --- .github/workflows/build-and-test.yml | 2 +- .github/workflows/publish.yml | 2 +- .mdlrc | 1 + .yamllint | 9 +++++++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .mdlrc create mode 100644 .yamllint diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 30d59fa..477506a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -58,4 +58,4 @@ jobs: id: build_and_test shell: bash run: | - bash scripts/build-and-test.sh "${{ matrix.flavour }}" \ No newline at end of file + bash scripts/build-and-test.sh "${{ matrix.flavour }}" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 082c257..ce4b4b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -42,4 +42,4 @@ jobs: context: ${{ matrix.flavour }} file: Dockerfile push: true - tags: ghcr.io/ministryofjustice/analytical-platform-${{ matrix.flavour }}:${{ github.ref_name }} \ No newline at end of file + tags: ghcr.io/ministryofjustice/analytical-platform-${{ matrix.flavour }}:${{ github.ref_name }} diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 0000000..b7e0825 --- /dev/null +++ b/.mdlrc @@ -0,0 +1 @@ +rules "~MD013" diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..d224164 --- /dev/null +++ b/.yamllint @@ -0,0 +1,9 @@ +--- +extends: default +rules: + line-length: + max: 256 + level: warning + braces: + min-spaces-inside: 1 + max-spaces-inside: 1