File tree 6 files changed +18
-8
lines changed
6 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 76
76
}],
77
77
"jest/no-disabled-tests": "error",
78
78
"jest/no-focused-tests": "error",
79
- "jest/no-hooks": "warn",
80
79
"jest/no-identical-title": "error",
81
80
"jest/no-jest-import": "error",
82
81
"jest/prefer-to-have-length": "warn",
87
86
"jsx-a11y/label-has-for": 0,
88
87
"jsx-a11y/click-events-have-key-events": 0,
89
88
"jsx-a11y/no-static-element-interactions": 0,
90
- "jsx-a11y/no-noninteractive-element-interactions": 0
89
+ "jsx-a11y/no-noninteractive-element-interactions": 0,
90
+ "react/jsx-props-no-spreading": 0,
91
+ "react/jsx-fragments": 0,
92
+ "react/static-property-placement": 0,
93
+ "react/sort-comp": 0,
94
+ "react/jsx-curly-newline": 0,
95
+ "react/state-in-constructor": 0,
96
+ "no-mixed-operators": 0,
97
+ "arrow-parens": 0,
98
+ "camelcase": 0,
99
+ "max-classes-per-file": 0,
100
+ "jest/no-hooks": 0
91
101
},
92
102
"plugins": [
93
103
"react",
Original file line number Diff line number Diff line change 16
16
"git:reset" : " git checkout master && git pull" ,
17
17
"lib:build" : " rollup -c config/rollup.config.js" ,
18
18
"lint" : " yarn lint:js && yarn lint:css" ,
19
- "lint:css" : " stylelint \" source/components/*.scss\" \" source/components/*.css\" " ,
20
- "lint:fix" : " stylelint \" source/components/*.scss\" \" source/components/*.css\" --fix" ,
19
+ "lint:css" : " stylelint \" source/components/**/* .scss\" \" source/components/** /*.css\" " ,
20
+ "lint:fix" : " stylelint \" source/components/**/* .scss\" \" source/components/** /*.css\" --fix" ,
21
21
"lint:js" : " eslint --cache ." ,
22
22
"extract-assets-from-ds" : " node ./scripts/extract-assets-from-ds.js && yarn generate-icons-demo" ,
23
23
"generate-icons-demo" : " node ./scripts/generate-icons-demo.js" ,
Original file line number Diff line number Diff line change 1
1
@import " ~design-system/dist/scss/wds-mixins/index.scss" ;
2
2
@import " ~design-system/dist/scss/wds-variables/index.scss" ;
3
3
@import " ~design-system/dist/scss/wds-components/_avatar.scss" ;
4
+
4
5
.wds-avatar {
5
6
@include wds-avatar (48px , $wds-fandom-color-mid-light-gray , $wds-fandom-color-mid-light-gray );
6
7
}
Original file line number Diff line number Diff line change 12
12
display : inline-flex ;
13
13
}
14
14
15
- & __icon , & __lock-icon {
15
+ & __icon ,
16
+ & __lock-icon {
16
17
margin-right : 13px ;
17
18
}
18
19
Original file line number Diff line number Diff line change 1
1
.expandable-text {
2
-
3
2
& __expand {
4
3
/* unstyle button */
5
4
background : none ;
Original file line number Diff line number Diff line change 36
36
left : auto ;
37
37
margin : auto ;
38
38
position : relative ;
39
- text-align : center ;
39
+ text-align : center ;
40
40
}
41
41
42
42
& .is-inline {
47
47
top : 0 ;
48
48
width : auto ;
49
49
}
50
-
51
50
}
You can’t perform that action at this time.
0 commit comments