scripts: compliance: add support for YAMLLint
Add a YAMLLint compliance check that uses the yamllint package to report linting error on YAML files. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
888607d550
commit
9d3681c10c
4 changed files with 50 additions and 1 deletions
16
.yamllint
Normal file
16
.yamllint
Normal file
|
@ -0,0 +1,16 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 100
|
||||
comments:
|
||||
min-spaces-from-content: 1
|
||||
indentation:
|
||||
spaces: 2
|
||||
indent-sequences: consistent
|
||||
document-start:
|
||||
present: false
|
||||
truthy:
|
||||
check-keys: false
|
Loading…
Add table
Add a link
Reference in a new issue