mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
add yamllint config file to make line legnth a warning instead of error
This commit is contained in:
parent
8d6968eb4a
commit
cbc6cf4f54
2 changed files with 10 additions and 0 deletions
|
@ -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"
|
||||
|
|
7
.config/yamllint/config.yml
Normal file
7
.config/yamllint/config.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue