forked from markosamuli/macos-machine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yamllint
37 lines (31 loc) · 947 Bytes
/
.yamllint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- mode: yaml -*-
# vim:ts=2:sw=2:ai:si:syntax=yaml
#
# yamllint configuration directives
# Project Homepage: https://github.com/adrienverge/yamllint
#
# Overriding rules in files:
# http://yamllint.readthedocs.io/en/latest/disable_with_comments.html
---
extends: default
# Rules documentation: http://yamllint.readthedocs.io/en/latest/rules.html
rules:
document-start:
present: true
braces:
# Allowing one space inside braces to improve code readability
max-spaces-inside: 1
brackets:
# Allowing one space inside braces to improve code readability
max-spaces-inside: 1
indentation:
# Requiring 2 space indentation
spaces: 2
# Requiring consistent indentation within a file, either indented or not
indent-sequences: true
# Lint indentation in multi-line strings
check-multi-line-strings: false
line-length:
max: 80
level: warning
allow-non-breakable-inline-mappings: true