Skip to content

Commit 0a30c78

Browse files
committed
ci: add yamllint configuration
Add .yamllint configuration file for YAML linting. Change-Id: I7b356d4596a88336af6cfdc7a055153cedd81e12 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
1 parent e66f1ff commit 0a30c78

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.yamllint

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
# SPDX-License-Identifier: Apache-2.0
3+
# SPDX-FileCopyrightText: 2026 The Linux Foundation
4+
5+
# yamllint configuration for OpenDaylight projects
6+
7+
extends: default
8+
9+
rules:
10+
line-length:
11+
max: 120
12+
level: warning
13+
indentation:
14+
spaces: 2
15+
indent-sequences: true
16+
comments:
17+
min-spaces-from-content: 1
18+
comments-indentation: {}
19+
document-start: disable
20+
truthy:
21+
allowed-values: ['true', 'false', 'yes', 'no']

0 commit comments

Comments
 (0)