Update scss lint config
parent
b753394e53
commit
5b925be14e
|
@ -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:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// scss-lint:disable ColorVariable
|
||||
|
||||
@import "functions";
|
||||
|
||||
// default color scheme
|
||||
|
|
|
@ -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),
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue