Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit e00504e

Browse files
committed
Buttons: Fixing css linting breaking the build
1 parent 39cca57 commit e00504e

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.csslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"box-sizing": false,
55
"compatible-vendor-prefixes": false,
66
"duplicate-background-images": false,
7+
"font-sizes": false,
78
"import": false,
89
"important": false,
910
"outline-none": false,

Gruntfile.js

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ var config = {
5050
}
5151
},
5252
csslint: {
53+
options: {
54+
csslintrc: ".csslintrc"
55+
},
5356
src: [ "dist/css/chassis.lint.css", "dist/css/chassis.lint.css", "demos/demos.css" ]
5457
},
5558
jscs: {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"maintainers": [
1111
{
1212
"name": "Sarah Frisk",
13-
"email": "sarah@sarahfrisk.net",
14-
"url": "http://sarahfrisk.net"
13+
"email": "sarah@sarahfrisk.com",
14+
"url": "http://sarahfrisk.com"
1515
},
1616
{
1717
"name": "Alexander Schmitz",

scss/atoms/buttons/_mixins.scss

+6-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@
3636
&:disabled {
3737
@include ui-button-state-disabled($color, $bgcolor);
3838
}
39-
&[aria-disabled="true"] {
40-
@include ui-button-state-disabled($color, $bgcolor);
41-
}
39+
/**
40+
* This triggers 'unqualified-attributes' in csslint
41+
* &[aria-disabled="true"] {
42+
* @include ui-button-state-disabled($color, $bgcolor);
43+
* }
44+
**/
4245
}
4346

4447
@mixin ui-button-state-default($color, $bgcolor) {

0 commit comments

Comments
 (0)