Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ansible_lza_rosetta_app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
ansible_lza_rosetta_app
Commits
bb88de67
Commit
bb88de67
authored
8 months ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
style: add new yamllint config that is compatible with latest version
parent
8d739212
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.yamllint
+23
-11
23 additions, 11 deletions
.yamllint
with
23 additions
and
11 deletions
.yamllint
+
23
−
11
View file @
bb88de67
---
# based on documentation available at
# https://yamllint.readthedocs.io/en/stable/rules.html
# Based on ansible-lint config
extends: default
rules:
...
...
@@ -11,15 +9,29 @@ rules:
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments:
min-spaces-from-content:
4
min-spaces-from-content:
1 # prettier compatibility
comments-indentation: disable
document-end: disable
document-start:
level: warning
octal-values:
forbid-explicit-octal: false
line-length: disable
truthy: enable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
octal-values:
forbid-implicit-octal: true # yamllint defaults to false
forbid-explicit-octal: true # yamllint defaults to false
trailing-spaces: disable
truthy: disable
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment