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 enabled: true
ColorVariable: ColorVariable:
enabled: false enabled: true
Comment: Comment:
enabled: false enabled: false
@ -23,6 +23,9 @@ linters:
DeclarationOrder: DeclarationOrder:
enabled: true enabled: true
DisableLinterReason:
enabled: true
DuplicateProperty: DuplicateProperty:
enabled: true enabled: true
@ -37,6 +40,9 @@ linters:
EmptyRule: EmptyRule:
enabled: true enabled: true
ExtendDirective:
enabled: false
FinalNewline: FinalNewline:
enabled: true enabled: true
present: true present: true
@ -94,7 +100,11 @@ linters:
PropertySpelling: PropertySpelling:
enabled: true enabled: true
extra_properties: ["icon-shadow","outline-radius"] extra_properties: [ "icon-shadow", "outline-radius" ]
PropertyUnits:
enabled: true
global: [ "px", "%", "s", "ms" ]
QualifyingElement: QualifyingElement:
enabled: false enabled: false
@ -130,13 +140,19 @@ linters:
SpaceAfterPropertyName: SpaceAfterPropertyName:
enabled: true enabled: true
SpaceAfterVariableName:
enabled: true
SpaceAroundOperator:
enabled: true
SpaceBeforeBrace: SpaceBeforeBrace:
enabled: true enabled: true
style: space style: space
allow_single_line_padding: true allow_single_line_padding: true
SpaceBetweenParens: SpaceBetweenParens:
enabled: false enabled: true
spaces: 0 spaces: 0
StringQuotes: StringQuotes:

View File

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

View File

@ -10,10 +10,10 @@
border: 0; border: 0;
$types: ( $types: (
info: ( $info_fg_color, $info_bg_color ), info: ($info_fg_color, $info_bg_color),
warning: ( $warning_fg_color, $warning_bg_color ), warning: ($warning_fg_color, $warning_bg_color),
question: ( $question_fg_color, $question_bg_color ), question: ($question_fg_color, $question_bg_color),
error: ( $error_fg_color, $error_bg_color ), error: ($error_fg_color, $error_bg_color),
); );