From ccf35751ded545195920cd12813259075f38eccc Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Tue, 21 May 2024 19:50:55 -0400 Subject: [PATCH] Config yml linter --- .github/linters/.yaml-lint.yml | 9 +++++++-- .github/workflows/lint.yml | 3 +-- renderer/layers/water_trails_poi.yml | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/linters/.yaml-lint.yml b/.github/linters/.yaml-lint.yml index 3cc4c2a..a042aba 100644 --- a/.github/linters/.yaml-lint.yml +++ b/.github/linters/.yaml-lint.yml @@ -1,6 +1,11 @@ --- extends: default rules: - line-length: disable indentation: - spaces: 2 \ No newline at end of file + spaces: 2 + line-length: disable + new-line-at-end-of-file: + level: warning + trailing-spaces: + level: warning + truthy: disable diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index df40474..1ae8f4e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,7 +3,6 @@ name: Lint on: - push - pull_request -permissions: { } jobs: build: name: Lint @@ -29,4 +28,4 @@ jobs: # To report GitHub Actions status checks GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VALIDATE_JSCPD: false - VALIDATE_NATURAL_LANGUAGE: false \ No newline at end of file + VALIDATE_NATURAL_LANGUAGE: false diff --git a/renderer/layers/water_trails_poi.yml b/renderer/layers/water_trails_poi.yml index f9f7bf9..715a97a 100644 --- a/renderer/layers/water_trails_poi.yml +++ b/renderer/layers/water_trails_poi.yml @@ -1,6 +1,6 @@ --- schema_name: OSM US Water Trail POIs -schema_description: Slipways, access points, dams, weirs, and waterfalls. +schema_description: Slipways, access points, dams, weirs, and waterfalls. attribution: © OpenStreetMap contributors sources: osm: