adding lint configs

This commit is contained in:
nazunalika 2021-02-11 01:56:38 -07:00
parent 3df9ac9359
commit 883e8487c3
Signed by untrusted user who does not match committer: label
GPG Key ID: CB6D9706D138D190
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,6 @@
# .ansible-lint # .ansible-lint
warn_list: warn_list:
- '106' - '204' # Lines should be less than 160 characters
- '701' # meta/main.yml should contain relevant info
skip_list:
- '106' # Role name must match ^[a-z][a-z0-9_]+$ pattern

7
.yamllint Normal file
View File

@ -0,0 +1,7 @@
---
extends: default
rules:
line-length:
max: 140
level: warning