From 8c11848097295ea9e6699eb340cbe8fe87294146 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 18 Jul 2024 19:09:51 +0200 Subject: [PATCH] improve linting --- .yamllint | 12 ++++-------- templates/waybar.css.j2 | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.yamllint b/.yamllint index 7fa9ec4..6f4fce2 100644 --- a/.yamllint +++ b/.yamllint @@ -2,11 +2,7 @@ extends: default rules: - braces: - max-spaces-inside: 1 - level: error - brackets: - max-spaces-inside: 1 - level: error - line-length: disable - comments-indentation: disable + # 150 chars should be enough, but don't fail if a line is longer + line-length: + max: 180 + level: warning diff --git a/templates/waybar.css.j2 b/templates/waybar.css.j2 index e4e1d2b..faba9f1 100644 --- a/templates/waybar.css.j2 +++ b/templates/waybar.css.j2 @@ -278,5 +278,5 @@ label:focus { } #scratchpad.empty { - background-color: transparent; + background-color: transparent; }