add yamllint config file to make line legnth a warning instead of error

This commit is contained in:
JesseBot 2024-04-08 09:45:41 +02:00
parent 8d6968eb4a
commit cbc6cf4f54
2 changed files with 10 additions and 0 deletions

View file

@ -127,3 +127,6 @@ export W3M_DIR="~/.local/state/w3m"
# add gcloud to path on macOS because they don't have a homebrew package
export PATH=$PATH:$HOME/.local/bin/google-cloud-sdk/bin
# make sure we make all yamllint changes for safer linting
export YAMLLINT_CONFIG_FILE="$XDG_CONFIG_HOME/yamllint/config.yml"

View file

@ -0,0 +1,7 @@
extends: default
rules:
# 80 chars should be enough, but don't fail if a line is longer
line-length:
max: 80
level: warning