Skip to content

Commit

Permalink
fix ct lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Jan 14, 2025
1 parent 7373cde commit f4375da
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/helm-chart-test.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Lint and Test Charts

on:
pull_request:
push:
branches:
- "master"
workflow_dispatch:

jobs:
lint-test:
Expand Down
6 changes: 3 additions & 3 deletions charts/magout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ mastodonServer:
envFrom: [] # CHANGE HERE
resources: {}
periodicRestart: {}
#periodicRestart:
# schedule: "0 0 * * *"
# timeZone: UTC
# periodicRestart:
# schedule: "0 0 * * *"
# timeZone: UTC
web:
replicas: 1
labels: {}
Expand Down
42 changes: 42 additions & 0 deletions lintconf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
colons:
max-spaces-before: 0
max-spaces-after: 1
commas:
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
comments:
require-starting-space: false
min-spaces-from-content: -1
document-end: disable
document-start: disable # No --- to start a file
empty-lines:
max: 2
max-start: 0
max-end: 0
hyphens:
max-spaces-after: 1
indentation:
spaces: consistent
indent-sequences: whatever # - list indentation will handle both indentation and without
check-multi-line-strings: false
key-duplicates: enable
line-length: disable # Lines can be any length
new-line-at-end-of-file: enable
new-lines:
type: unix
trailing-spaces: enable
truthy:
level: warning

0 comments on commit f4375da

Please sign in to comment.