Skip to content

Commit a02e477

Browse files
committed
chore(stylelint): cleanup configuration
1 parent d2d9910 commit a02e477

File tree

7 files changed

+8
-30
lines changed

7 files changed

+8
-30
lines changed

.stylelintrc.json

+6-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
{
2-
"processors": [
3-
[
4-
"stylelint-processor-styled-components",
5-
{
6-
"moduleName": "@emotion/styled"
7-
}
8-
]
9-
],
2+
"customSyntax": "postcss-styled-syntax",
103
"extends": [
11-
"stylelint-config-standard",
12-
"stylelint-config-styled-components",
13-
"stylelint-config-prettier"
4+
"stylelint-config-standard"
145
],
156
"rules": {
16-
"declaration-empty-line-before": null,
17-
"comment-empty-line-before": null,
187
"block-no-empty": null,
8+
"comment-empty-line-before": null,
9+
"declaration-empty-line-before": null,
10+
"no-empty-source": null,
11+
"declaration-block-no-redundant-longhand-properties": null,
1912
"value-keyword-case": null
2013
}
2114
}

stories/src/multi-drag/task.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ const Container = styled.div<ContainerProps>`
8888
border-color: ${colors.G200};
8989
}
9090
`;
91-
/* stylelint-disable block-no-empty */
91+
9292
const Content = styled.div``;
93-
/* stylelint-enable */
93+
9494
const size = 30;
9595

9696
const SelectionCount = styled.div`

stories/src/primatives/quote-list.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,8 @@ const ScrollContainer = styled.div`
6767
max-height: ${scrollContainerHeight}px;
6868
`;
6969

70-
/* stylelint-disable block-no-empty */
7170
const Container = styled.div``;
7271

73-
/* stylelint-enable */
74-
7572
interface Props {
7673
listId?: string;
7774
listType?: string;

stories/src/table/with-clone.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,10 @@ const Header = styled.header`
239239
margin-bottom: ${grid * 2}px;
240240
`;
241241

242-
/* stylelint-disable block-no-empty */
243242
const LayoutControl = styled.div``;
244243

245244
const CopyTableButton = styled.button``;
246245

247-
/* stylelint-enable */
248-
249246
interface AppProps {
250247
initial: Quote[];
251248
}

stories/src/table/with-dimension-locking.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,10 @@ const Header = styled.header`
156156
margin-bottom: ${grid * 2}px;
157157
`;
158158

159-
/* stylelint-disable block-no-empty */
160159
const LayoutControl = styled.div``;
161160

162161
const CopyTableButton = styled.button``;
163162

164-
/* stylelint-enable */
165-
166163
interface AppProps {
167164
initial: Quote[];
168165
}

stories/src/table/with-fixed-columns.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,10 @@ const Header = styled.header`
8181
margin-bottom: ${grid * 2}px;
8282
`;
8383

84-
/* stylelint-disable block-no-empty */
8584
const LayoutControl = styled.div``;
8685

8786
const CopyTableButton = styled.button``;
8887

89-
/* stylelint-enable */
90-
9188
interface AppProps {
9289
initial: Quote[];
9390
}

stories/src/table/with-portal.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,10 @@ const Header = styled.header`
242242
margin-bottom: ${grid * 2}px;
243243
`;
244244

245-
/* stylelint-disable block-no-empty */
246245
const LayoutControl = styled.div``;
247246

248247
const CopyTableButton = styled.button``;
249248

250-
/* stylelint-enable */
251-
252249
interface AppProps {
253250
initial: Quote[];
254251
}

0 commit comments

Comments
 (0)