forked from saltstack-formulas/zabbix-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.salt-lint
21 lines (21 loc) · 855 Bytes
/
.salt-lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
exclude_paths: []
rules:
# https://github.com/saltstack-formulas/zabbix-formula/issues/129
203: # Most files should not contain tabs
ignore: |
zabbix/files/default/etc/zabbix/web/zabbix.conf.php.jinja
204: # Lines should be no longer that 160 chars
ignore: |
zabbix/files/default/etc/zabbix/zabbix_proxy.conf.jinja
skip_list:
# Using `salt-lint` for linting other files as well, such as Jinja macros/templates
- 205 # Use ".sls" as a Salt State file extension
# Skipping `207` and `208` because `210` is sufficient, at least for the time-being
# I.e. Allows 3-digit unquoted codes to still be used, such as `644` and `755`
- 207 # File modes should always be encapsulated in quotation marks
- 208 # File modes should always contain a leading zero
tags: []
verbosity: 1