-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0) * Fix (or ignore) errors shown below: ```bash iptables-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") ./iptables/defaults.yaml 3:1 warning missing document start "---" (document-start) 50:1 error too many blank lines (1 > 0) (empty-lines) ./iptables/osfamilymap.yaml 3:1 warning missing document start "---" (document-start) ./test/integration/tables/inspec.yml 8:89 error line too long (89 > 88 characters) (line-length) pillar.example 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 3:12 warning truthy value should be one of [false, true] (truthy) 4:11 warning truthy value should be one of [false, true] (truthy) 5:9 warning truthy value should be one of [false, true] (truthy) 8:22 warning truthy value should be one of [false, true] (truthy) 14:22 warning truthy value should be one of [false, true] (truthy) 19:22 warning truthy value should be one of [false, true] (truthy) 28:22 warning truthy value should be one of [false, true] (truthy) 33:22 warning truthy value should be one of [false, true] (truthy) 38:22 warning truthy value should be one of [false, true] (truthy) 55:4 warning missing starting space in comment (comments) 57:89 error line too long (89 > 88 characters) (line-length) 67:27 error trailing spaces (trailing-spaces) 68:1 error duplication of key "firewall" in mapping (key-duplicates) 69:12 warning truthy value should be one of [false, true] (truthy) 70:12 warning truthy value should be one of [false, true] (truthy) 71:11 warning truthy value should be one of [false, true] (truthy) 74:15 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.pillar.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 3:12 warning truthy value should be one of [false, true] (truthy) 4:11 warning truthy value should be one of [false, true] (truthy) 5:9 warning truthy value should be one of [false, true] (truthy) 10:22 warning truthy value should be one of [false, true] (truthy) 16:22 warning truthy value should be one of [false, true] (truthy) 21:22 warning truthy value should be one of [false, true] (truthy) 33:4 warning missing starting space in comment (comments) 35:89 error line too long (89 > 88 characters) (line-length) test/salt/pillar/tables.pillar.sls 2:27 error trailing spaces (trailing-spaces) 3:1 warning missing document start "---" (document-start) 4:12 warning truthy value should be one of [false, true] (truthy) 5:12 warning truthy value should be one of [false, true] (truthy) 6:11 warning truthy value should be one of [false, true] (truthy) 9:15 warning truthy value should be one of [false, true] (truthy) 37:4 warning missing starting space in comment (comments) 39:89 error line too long (89 > 88 characters) (line-length) ```
- Loading branch information
Showing
9 changed files
with
82 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- 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 | ||
ignore: | | ||
node_modules/ | ||
rules: | ||
key-duplicates: | ||
ignore: | | ||
pillar.example | ||
line-length: | ||
# Increase from default of `80` | ||
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`) | ||
max: 88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=yaml | ||
--- | ||
Debian: | ||
pkgs: | ||
- iptables | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=yaml | ||
--- | ||
name: default | ||
title: iptables formula | ||
maintainer: SaltStack Formulas | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters