Merge pull request #1 from myii/chore/standardise-structure
[arvados-formula.git] / .yamllint
1 # -*- coding: utf-8 -*-
2 # vim: ft=yaml
3 ---
4 # Extend the `default` configuration provided by `yamllint`
5 extends: default
6
7 # Files to ignore completely
8 # 1. All YAML files under directory `node_modules/`, introduced during the Travis run
9 # 2. Any SLS files under directory `test/`, which are actually state files
10 # 3. Any YAML files under directory `.kitchen/`, introduced during local testing
11 ignore: |
12   node_modules/
13   test/**/states/**/*.sls
14   .kitchen/
15   test/**/pillar/**/*.sls
16
17 yaml-files:
18   # Default settings
19   - '*.yaml'
20   - '*.yml'
21   - .salt-lint
22   - .yamllint
23   # SaltStack Formulas additional settings
24   - '*.example'
25   - test/**/*.sls
26
27 rules:
28   empty-values:
29     forbid-in-block-mappings: true
30     forbid-in-flow-mappings: true
31   line-length:
32     # Increase from default of `80`
33     # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
34     max: 88
35   octal-values:
36     forbid-implicit-octal: true
37     forbid-explicit-octal: true