From da0b905fbf6774ab84eba8b244422424e712028d Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 7 Jul 2022 19:10:19 +0100 Subject: [PATCH] Add yamllint config, fix some indentation Signed-off-by: Adam Warner --- .github/workflows/codespell.yml | 19 ++++++++++--------- .stickler.yml | 1 + .yamllint.conf | 3 +++ 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .yamllint.conf diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 14c4b946..4bcf9c3d 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -1,4 +1,5 @@ name: Codespell + on: pull_request: types: [opened, synchronize, reopened, ready_for_review] @@ -8,12 +9,12 @@ jobs: if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Spell-Checking - uses: codespell-project/actions-codespell@master - with: - ignore_words_file: .codespellignore - skip: ./scripts/vendor,./style/vendor + - + name: Checkout repository + uses: actions/checkout@v3 + - + name: Spell-Checking + uses: codespell-project/actions-codespell@master + with: + ignore_words_file: .codespellignore + skip: ./scripts/vendor,./style/vendor diff --git a/.stickler.yml b/.stickler.yml index 0b22d79c..92beabd9 100644 --- a/.stickler.yml +++ b/.stickler.yml @@ -1,6 +1,7 @@ --- linters: yamllint: + config: ./.yamllint.conf remarklint: files: ignore: diff --git a/.yamllint.conf b/.yamllint.conf new file mode 100644 index 00000000..d1b0953b --- /dev/null +++ b/.yamllint.conf @@ -0,0 +1,3 @@ +rules: + line-length: disable + document-start: disable