diff --git a/.scss-lint.yml b/.scss-lint.yml index e9477d5..a981c3b 100644 --- a/.scss-lint.yml +++ b/.scss-lint.yml @@ -12,7 +12,7 @@ linters: enabled: true ColorVariable: - enabled: false + enabled: true Comment: enabled: false @@ -23,6 +23,9 @@ linters: DeclarationOrder: enabled: true + DisableLinterReason: + enabled: true + DuplicateProperty: enabled: true @@ -37,6 +40,9 @@ linters: EmptyRule: enabled: true + ExtendDirective: + enabled: false + FinalNewline: enabled: true present: true @@ -94,7 +100,11 @@ linters: PropertySpelling: enabled: true - extra_properties: ["icon-shadow","outline-radius"] + extra_properties: [ "icon-shadow", "outline-radius" ] + + PropertyUnits: + enabled: true + global: [ "px", "%", "s", "ms" ] QualifyingElement: enabled: false @@ -130,13 +140,19 @@ linters: SpaceAfterPropertyName: enabled: true + SpaceAfterVariableName: + enabled: true + + SpaceAroundOperator: + enabled: true + SpaceBeforeBrace: enabled: true style: space allow_single_line_padding: true SpaceBetweenParens: - enabled: false + enabled: true spaces: 0 StringQuotes: diff --git a/gtk-3.0/scss/_global.scss b/gtk-3.0/scss/_global.scss index e2b70ee..3dfab07 100755 --- a/gtk-3.0/scss/_global.scss +++ b/gtk-3.0/scss/_global.scss @@ -1,3 +1,5 @@ +// scss-lint:disable ColorVariable + @import "functions"; // default color scheme diff --git a/gtk-3.0/scss/widgets/_infobar.scss b/gtk-3.0/scss/widgets/_infobar.scss index 9b5a679..4351c9b 100644 --- a/gtk-3.0/scss/widgets/_infobar.scss +++ b/gtk-3.0/scss/widgets/_infobar.scss @@ -10,10 +10,10 @@ border: 0; $types: ( - info: ( $info_fg_color, $info_bg_color ), - warning: ( $warning_fg_color, $warning_bg_color ), - question: ( $question_fg_color, $question_bg_color ), - error: ( $error_fg_color, $error_bg_color ), + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), );