-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
1,045 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"box-model": false, | ||
"adjoining-classes": false, | ||
"box-sizing": false, | ||
"compatible-vendor-prefixes": false, | ||
"gradients": false, | ||
"text-indent": false, | ||
"fallback-colors": false, | ||
"star-property-hack": false, | ||
"underscore-property-hack": false, | ||
"bulletproof-font-face": false, | ||
"font-faces": false, | ||
"import": false, | ||
"regex-selectors": false, | ||
"universal-selector": false, | ||
"unqualified-attributes": false, | ||
"overqualified-elements": false, | ||
"duplicate-background-images": false, | ||
"floats": false, | ||
"font-sizes": false, | ||
"ids": false, | ||
"important": false, | ||
"outline-none": false, | ||
"qualified-headings": false, | ||
"unique-headings": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,207 @@ | ||
scss_files: "**/*.scss" | ||
|
||
linters: | ||
BangFormat: | ||
enabled: true | ||
space_before_bang: true | ||
space_after_bang: false | ||
|
||
BemDepth: | ||
enabled: false | ||
max_elements: 1 | ||
|
||
BorderZero: | ||
enabled: true | ||
convention: zero # or `none` | ||
|
||
ColorKeyword: | ||
enabled: false | ||
|
||
ColorVariable: | ||
enabled: false | ||
|
||
Comment: | ||
enabled: true | ||
|
||
DebugStatement: | ||
enabled: true | ||
|
||
DeclarationOrder: | ||
enabled: true | ||
|
||
DuplicateProperty: | ||
enabled: false | ||
|
||
ElsePlacement: | ||
enabled: true | ||
style: same_line # or 'new_line' | ||
|
||
EmptyLineBetweenBlocks: | ||
enabled: true | ||
ignore_single_line_blocks: false | ||
|
||
EmptyRule: | ||
enabled: true | ||
|
||
FinalNewline: | ||
enabled: false | ||
present: true | ||
|
||
HexLength: | ||
enabled: true | ||
style: short # or 'long' | ||
|
||
HexNotation: | ||
enabled: true | ||
style: lowercase # or 'uppercase' | ||
|
||
HexValidation: | ||
enabled: true | ||
|
||
IdSelector: | ||
enabled: false | ||
|
||
ImportantRule: | ||
enabled: false | ||
|
||
ImportPath: | ||
enabled: true | ||
leading_underscore: false | ||
filename_extension: false | ||
|
||
Indentation: | ||
enabled: true | ||
allow_non_nested_indentation: false | ||
character: space # or 'tab' | ||
width: 4 | ||
|
||
LeadingZero: | ||
enabled: true | ||
style: exclude_zero # or 'include_zero' | ||
|
||
MergeableSelector: | ||
enabled: true | ||
force_nesting: false | ||
|
||
NameFormat: | ||
enabled: true | ||
allow_leading_underscore: false | ||
convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern | ||
|
||
NestingDepth: | ||
enabled: true | ||
max_depth: 5 | ||
|
||
PlaceholderInExtend: | ||
enabled: true | ||
|
||
PropertyCount: | ||
enabled: false | ||
include_nested: false | ||
max_properties: 10 | ||
|
||
PropertyUnits: | ||
enabled: true | ||
global: [ | ||
'ch', 'em', 'ex', 'rem', # Font-relative lengths | ||
'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths | ||
'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths | ||
'deg', 'grad', 'rad', 'turn', # Angle | ||
'ms', 's', # Duration | ||
'Hz', 'kHz', # Frequency | ||
'dpi', 'dpcm', 'dppx', # Resolution | ||
'%'] # Other | ||
properties: {} | ||
|
||
PropertySortOrder: | ||
enabled: false | ||
ignore_unspecified: false | ||
min_properties: 2 | ||
separate_groups: true | ||
|
||
PropertySpelling: | ||
enabled: true | ||
extra_properties: [] | ||
|
||
QualifyingElement: | ||
enabled: false | ||
allow_element_with_attribute: false | ||
allow_element_with_class: false | ||
allow_element_with_id: false | ||
|
||
SelectorDepth: | ||
enabled: true | ||
max_depth: 4 | ||
|
||
SelectorFormat: | ||
enabled: true | ||
convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern | ||
ignored_types: ['id'] | ||
|
||
Shorthand: | ||
enabled: true | ||
allowed_shorthands: [1, 2, 3] | ||
|
||
SingleLinePerProperty: | ||
enabled: true | ||
allow_single_line_rule_sets: false | ||
|
||
SingleLinePerSelector: | ||
enabled: true | ||
|
||
SpaceAfterComma: | ||
enabled: true | ||
|
||
SpaceAfterPropertyColon: | ||
enabled: true | ||
style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned' | ||
|
||
SpaceAfterPropertyName: | ||
enabled: true | ||
|
||
SpaceBeforeBrace: | ||
enabled: true | ||
style: space # or 'new_line' | ||
allow_single_line_padding: false | ||
|
||
SpaceBetweenParens: | ||
enabled: true | ||
spaces: 0 | ||
|
||
StringQuotes: | ||
enabled: true | ||
style: double_quotes # or single_quotes | ||
|
||
TrailingSemicolon: | ||
enabled: true | ||
|
||
TrailingZero: | ||
enabled: true | ||
|
||
UnnecessaryMantissa: | ||
enabled: true | ||
|
||
UnnecessaryParentReference: | ||
enabled: true | ||
|
||
UrlFormat: | ||
enabled: false | ||
|
||
UrlQuotes: | ||
enabled: true | ||
|
||
VariableForProperty: | ||
enabled: false | ||
properties: [] | ||
|
||
VendorPrefix: | ||
enabled: false | ||
identifier_list: base | ||
additional_identifiers: [] | ||
excluded_identifiers: [] | ||
|
||
ZeroUnit: | ||
enabled: true | ||
|
||
Compass::*: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
options: { | ||
csslintrc: '.csslintrc' | ||
}, | ||
files: { | ||
src: [...] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
options: { | ||
config: '.scss-lint.yml' | ||
}, | ||
files: { | ||
src: [...] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* not good */ | ||
.element { | ||
... | ||
} | ||
.dialog { | ||
color: red; | ||
&:after { | ||
... | ||
} | ||
} | ||
|
||
/* good */ | ||
.element { | ||
... | ||
} | ||
|
||
.dialog { | ||
color: red; | ||
|
||
&:after { | ||
... | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* not good */ | ||
.element { | ||
color: #ABCDEF; | ||
background-color: #001122; | ||
} | ||
|
||
/* good */ | ||
.element { | ||
color: #abcdef; | ||
background-color: #012; | ||
} |
Oops, something went wrong.