Disable scss-lint ImportantRule linter only for those blocks which already currently use !important

stable
Jonathan Barratt 2015-04-01 16:00:14 +07:00
parent 670129a2cc
commit 992f15abe7
5 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,7 @@ body {
}
.hidden {
// scss-lint:disable ImportantRule
display: none !important;
}

View File

@ -53,6 +53,7 @@ sup {
//Datepicker
.pika-single {
// scss-lint:disable ImportantRule
z-index: 999999;
.pika-title {
color: $grayer;

View File

@ -101,6 +101,7 @@ a:visited {
// Taiga Icons
[data-icon]:before {
// scss-lint:disable ImportantRule
content: attr(data-icon);
font-family: 'taiga' !important;
-moz-osx-font-smoothing: grayscale;
@ -115,6 +116,7 @@ a:visited {
[class^='icon-']:before,
[class*=' icon-']:before {
// scss-lint:disable ImportantRule
font-family: 'taiga' !important;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;

View File

@ -189,6 +189,7 @@
transition: background .2s ease-in;
}
a {
// scss-lint:disable ImportantRule
color: $white !important;
&:hover {
color: $white;

View File

@ -136,6 +136,7 @@
background: $red-light;
color: $white;
a {
// scss-lint:disable ImportantRule
color: $white !important;
&:hover {
color: $white;