Skip to content

Commit 7da235b

Browse files
committed
ci (5)
1 parent 60957e0 commit 7da235b

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

.eslintrc

+12-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
}],
7777
"jest/no-disabled-tests": "error",
7878
"jest/no-focused-tests": "error",
79-
"jest/no-hooks": "warn",
8079
"jest/no-identical-title": "error",
8180
"jest/no-jest-import": "error",
8281
"jest/prefer-to-have-length": "warn",
@@ -87,7 +86,18 @@
8786
"jsx-a11y/label-has-for": 0,
8887
"jsx-a11y/click-events-have-key-events": 0,
8988
"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
91101
},
92102
"plugins": [
93103
"react",

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"git:reset": "git checkout master && git pull",
1717
"lib:build": "rollup -c config/rollup.config.js",
1818
"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",
2121
"lint:js": "eslint --cache .",
2222
"extract-assets-from-ds": "node ./scripts/extract-assets-from-ds.js && yarn generate-icons-demo",
2323
"generate-icons-demo": "node ./scripts/generate-icons-demo.js",

source/components/Avatar/styles.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import "~design-system/dist/scss/wds-mixins/index.scss";
22
@import "~design-system/dist/scss/wds-variables/index.scss";
33
@import "~design-system/dist/scss/wds-components/_avatar.scss";
4+
45
.wds-avatar {
56
@include wds-avatar(48px, $wds-fandom-color-mid-light-gray, $wds-fandom-color-mid-light-gray);
67
}

source/components/Checkbox/styles.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
display: inline-flex;
1313
}
1414

15-
&__icon, &__lock-icon {
15+
&__icon,
16+
&__lock-icon {
1617
margin-right: 13px;
1718
}
1819

source/components/ExpandableText/styles.scss

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.expandable-text {
2-
32
&__expand {
43
/* unstyle button */
54
background: none;

source/components/Spinner/styles.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
left: auto;
3737
margin: auto;
3838
position: relative;
39-
text-align: center;
39+
text-align: center;
4040
}
4141

4242
&.is-inline {
@@ -47,5 +47,4 @@
4747
top: 0;
4848
width: auto;
4949
}
50-
5150
}

0 commit comments

Comments
 (0)