mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-12-23 15:39:08 +01:00
7b303a5ace
* leverage yamllint in GitHub actions * add pre-commits * validation updates * Update README.md * Update CONTRIBUTING.md
33 lines
617 B
YAML
33 lines
617 B
YAML
---
|
|
yaml-files:
|
|
- '*.yaml'
|
|
- '*.yml'
|
|
|
|
rules:
|
|
braces: enable
|
|
brackets: enable
|
|
colons: enable
|
|
commas: enable
|
|
comments: disable
|
|
comments-indentation: disable
|
|
document-end: disable
|
|
document-start:
|
|
level: warning
|
|
empty-lines: enable
|
|
empty-values: disable
|
|
hyphens: enable
|
|
indentation:
|
|
spaces: 2
|
|
indent-sequences: true
|
|
key-duplicates: enable
|
|
key-ordering: disable
|
|
line-length: disable
|
|
new-line-at-end-of-file: enable
|
|
new-lines: enable
|
|
octal-values: disable
|
|
quoted-strings: disable
|
|
trailing-spaces: enable
|
|
truthy:
|
|
ignore: |
|
|
.github/workflows/validation.yml
|