Update scss lint config

pull/242/head
Satyajit Sahoo 2015-08-07 04:59:32 +05:30
parent b753394e53
commit 5b925be14e
3 changed files with 25 additions and 7 deletions

View File

@ -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:

View File

@ -1,3 +1,5 @@
// scss-lint:disable ColorVariable
@import "functions";
// default color scheme

View File

@ -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),
);