Skip to content

Commit

Permalink
chore:Enable yaml linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed May 29, 2024
1 parent d05a416 commit 87ae4e3
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 13 deletions.
8 changes: 5 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
# SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0

---
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
# Check for updates to GitHub Actions every day
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 10

- package-ecosystem: gomod
directory: /
Expand All @@ -22,5 +23,6 @@ updates:
labels:
- "dependencies"
commit-message:
prefix: "feat"
prefix: "chore"
include: "scope"
open-pull-requests-limit: 10
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
uses: xmidt-org/shared-go/.github/workflows/ci.yml@c9c75b3fd850c64594bcdc7181b4f7557675faed # v4.4.0
with:
release-type: library
yaml-lint-skip: false
secrets: inherit
40 changes: 40 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---

extends: default

ignore: []

rules:
braces:
level: warning
max-spaces-inside: 1
brackets:
level: warning
max-spaces-inside: 1
colons:
level: warning
max-spaces-after: -1
commas:
level: warning
comments: disable
comments-indentation: disable
document-start:
present: true
empty-lines:
max: 2
hyphens:
max-spaces-after: 1
indentation:
level: error
indent-sequences: consistent
line-length:
level: warning
max: 90
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
truthy:
allowed-values:
- 'true'
- 'false'
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
services:
nginx:
---
services:
nginx:
image: nginx
ports:
ports:
- "7999:80"
dynamodb:
dynamodb:
hostname: dynamodb.local.amazonaws.com
image: amazon/dynamodb-local
command: -jar DynamoDBLocal.jar -inMemory -sharedDb
ports:
ports:
- "7998:8000"
kinesis:
kinesis:
hostname: kinesis
image: saidsef/aws-kinesis-local
ports:
- "7997:4567"
version: "3.8"
ports:
- "7997:4567"
version: "3.8"

0 comments on commit 87ae4e3

Please sign in to comment.