Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ediblecode committed Jul 22, 2016
1 parent f31444a commit fab3ccc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/stylesheets/.sass-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ rules:
- convention: hyphenatedlowercase
mixins-before-declarations: 1
nesting-depth:
- max-depth: 2
- max-depth: 3
no-attribute-selectors: 0
no-color-keywords: 0
no-color-literals: 0
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $button-colour: #11779b;
}

.btn {
@include remove-moz-focus-inner;
@include remove-mz-focus-inner;
appearance: none;
background: get-colour(blue);
border: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/components/_phase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

&__tag {
display: table-cell;
padding: 0 em(8) 0;
padding: 0 em(8);
}

&__label {
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/helpers/hacks/_hacks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

/// Fix unwanted button padding in Firefox
@mixin remove-moz-focus-inner {
@mixin remove-mz-focus-inner {
&:moz-focus-inner {
border: 0;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/settings/_colours.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ $tones: (
@return call($function, $base-colour, $args...);
}

@error "Invalid `$tone`: #{$tone}. Must be one of $tones.";
@error 'Invalid `$tone`: #{$tone}. Must be one of $tones.';
}

@error 'Palette #{$palette} could not be found';
Expand Down
3 changes: 2 additions & 1 deletion src/stylesheets/typography/_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
padding: 0;
}

ul, ol {
ul,
ol {
@extend %list;
}

Expand Down

0 comments on commit fab3ccc

Please sign in to comment.