Skip to content

Commit

Permalink
chore(stylelint): cleanup configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
100terres committed Oct 29, 2023
1 parent 27490d9 commit 1fc766b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 30 deletions.
19 changes: 6 additions & 13 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
{
"processors": [
[
"stylelint-processor-styled-components",
{
"moduleName": "@emotion/styled"
}
]
],
"customSyntax": "postcss-styled-syntax",
"extends": [
"stylelint-config-standard",
"stylelint-config-styled-components",
"stylelint-config-prettier"
"stylelint-config-standard"
],
"rules": {
"declaration-empty-line-before": null,
"comment-empty-line-before": null,
"block-no-empty": null,
"comment-empty-line-before": null,
"declaration-empty-line-before": null,
"no-empty-source": null,
"declaration-block-no-redundant-longhand-properties": null,
"value-keyword-case": null
}
}
4 changes: 2 additions & 2 deletions stories/src/multi-drag/task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ const Container = styled.div<ContainerProps>`
border-color: ${colors.G200};
}
`;
/* stylelint-disable block-no-empty */

const Content = styled.div``;
/* stylelint-enable */

const size = 30;

const SelectionCount = styled.div`
Expand Down
3 changes: 0 additions & 3 deletions stories/src/primatives/quote-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ const ScrollContainer = styled.div`
max-height: ${scrollContainerHeight}px;
`;

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

/* stylelint-enable */

interface Props {
listId?: string;
listType?: string;
Expand Down
3 changes: 0 additions & 3 deletions stories/src/table/with-clone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,10 @@ const Header = styled.header`
margin-bottom: ${grid * 2}px;
`;

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

const CopyTableButton = styled.button``;

/* stylelint-enable */

interface AppProps {
initial: Quote[];
}
Expand Down
3 changes: 0 additions & 3 deletions stories/src/table/with-dimension-locking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,10 @@ const Header = styled.header`
margin-bottom: ${grid * 2}px;
`;

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

const CopyTableButton = styled.button``;

/* stylelint-enable */

interface AppProps {
initial: Quote[];
}
Expand Down
3 changes: 0 additions & 3 deletions stories/src/table/with-fixed-columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,10 @@ const Header = styled.header`
margin-bottom: ${grid * 2}px;
`;

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

const CopyTableButton = styled.button``;

/* stylelint-enable */

interface AppProps {
initial: Quote[];
}
Expand Down
3 changes: 0 additions & 3 deletions stories/src/table/with-portal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,10 @@ const Header = styled.header`
margin-bottom: ${grid * 2}px;
`;

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

const CopyTableButton = styled.button``;

/* stylelint-enable */

interface AppProps {
initial: Quote[];
}
Expand Down

0 comments on commit 1fc766b

Please sign in to comment.