mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 09:40:26 +00:00

* Semi-automated using https://github.com/myii/ssf-formula/pull/27 * Fix (or ignore) errors shown below: ```bash mysql-formula$ yamllint -s . ./mysql/osfamilymap.yaml 46:14 error empty value in block mapping (empty-values) 66:14 error empty value in block mapping (empty-values) 67:14 error empty value in block mapping (empty-values) 68:16 error empty value in block mapping (empty-values) 69:17 error empty value in block mapping (empty-values) 70:16 error empty value in block mapping (empty-values) 87:7 error empty value in block mapping (empty-values) 216:14 error empty value in block mapping (empty-values) 217:17 error empty value in block mapping (empty-values) ./mysql/defaults.yaml 29:10 error empty value in block mapping (empty-values) 30:11 error empty value in block mapping (empty-values) ```
32 lines
855 B
YAML
32 lines
855 B
YAML
# -*- coding: utf-8 -*-
|
|
# vim: ft=yaml
|
|
---
|
|
# Extend the `default` configuration provided by `yamllint`
|
|
extends: default
|
|
|
|
# Files to ignore completely
|
|
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run
|
|
# 2. Any SLS files under directory `test/`, which are actually state files
|
|
# 3. Any YAML files using Jinja (result in `yamllint` syntax errors)
|
|
ignore: |
|
|
node_modules/
|
|
test/**/states/**/*.sls
|
|
mysql/supported_sections.yaml
|
|
|
|
yaml-files:
|
|
# Default settings
|
|
- '*.yaml'
|
|
- '*.yml'
|
|
- .yamllint
|
|
# SaltStack Formulas additional settings
|
|
- '*.example'
|
|
- test/**/*.sls
|
|
|
|
rules:
|
|
empty-values:
|
|
forbid-in-block-mappings: true
|
|
forbid-in-flow-mappings: true
|
|
line-length:
|
|
# Increase from default of `80`
|
|
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
|
|
max: 88
|