Skip to content

Commit 1ce2867

Browse files
authored
chore: update to stylelint-config-recommended-scss (#4505)
1 parent ba67147 commit 1ce2867

File tree

13 files changed

+50
-405
lines changed

13 files changed

+50
-405
lines changed

.stylelintrc.json

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": [
33
"stylelint-config-standard",
4-
"stylelint-config-sass-guidelines"
4+
"stylelint-config-recommended-scss"
55
],
66
"plugins": [
77
"stylelint-use-logical",
@@ -31,42 +31,9 @@
3131
"a11y/no-outline-none": true,
3232
"a11y/selector-pseudo-class-focus": true,
3333
"csstools/use-logical": ["always", { "except": ["float"] }],
34-
"max-nesting-depth": null,
35-
"scss/dollar-variable-colon-space-after": null,
3634
"selector-type-no-unknown": [true, { "ignoreTypes": ["/^db/"] }],
3735
"no-descending-specificity": null,
38-
"selector-max-compound-selectors": null,
39-
"selector-no-qualifying-type": [
40-
true,
41-
{
42-
"ignore": ["attribute"]
43-
}
44-
],
4536
"number-max-precision": null,
46-
"annotation-no-unknown": [
47-
true,
48-
{
49-
"ignoreAnnotations": ["default", "global"]
50-
}
51-
],
52-
"declaration-property-value-no-unknown": true,
53-
"@stylistic/block-opening-brace-space-before": null,
54-
"@stylistic/color-hex-case": null,
55-
"@stylistic/declaration-bang-space-after": null,
56-
"@stylistic/declaration-bang-space-before": null,
57-
"@stylistic/declaration-block-semicolon-newline-after": null,
58-
"@stylistic/declaration-block-semicolon-space-before": null,
59-
"@stylistic/declaration-block-trailing-semicolon": null,
60-
"@stylistic/declaration-colon-space-after": null,
61-
"@stylistic/declaration-colon-space-before": null,
62-
"@stylistic/function-comma-space-after": null,
63-
"@stylistic/function-parentheses-space-inside": null,
64-
"@stylistic/indentation": null,
65-
"@stylistic/media-feature-parentheses-space-inside": null,
66-
"@stylistic/no-missing-end-of-source-newline": null,
67-
"@stylistic/number-leading-zero": null,
68-
"@stylistic/number-no-trailing-zeros": null,
69-
"@stylistic/selector-list-comma-newline-after": null,
70-
"@stylistic/string-quotes": null
37+
"scss/operator-no-newline-after": null
7138
}
7239
}

docs/how-to-develop-a-component.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ We use [Mitosis](https://github.com/BuilderIO/Mitosis/tree/main/docs) to develop
6363
3. Try to parameterize a lot: For example if your component includes an icon button you should give it a text for accessibility. You should provide a default text, so it can't be empty, but you should also let the user change it with a property e.g. `iconButtonText`.
6464
4. To enable some native functionalities for Vue and Angular (`v-model` and `[(ng-model)]`) you might need to add some extra code to your component. At the generation process you might select `formValue` anyhow, but otherwise take a look at the `input` to see what you need to add to make this work.
6565
5. Angular can be challenging; here are some issues to be aware of:
66-
6766
1. Angular generates custom HTML tags as wrappers, which may affect your `CSS` selectors. For example if we have a button inside our component and we try to change the styling with `.db-button: {xxx:abc;}` it would not add the styling to the button. As a workaround you should write `.db-button, .db-button > button: {xxx:abc;}` to cover Angular as well:
6867

6968
```html

docs/research/table.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Across the surveyed design systems, there is a kind of pattern for tables:
3232
This ensures maximum accessibility out of the box, since screen readers and keyboard users already understand native table structures.
3333

3434
2. **Progressive Enhancement of Interactivity**
35-
3635
- **Static by Default**: Some systems stick to purely static tables with CSS-based styling (striped rows, borders) and responsive wrappers for horizontal scrolling. Those have no built-in interactivity (sorting, pagination, etc.).
3736
- **Developer-Driven Features**: Several systems provide core table markup plus optional wrappers or slots for sorting, sticky headers, and scroll controls, leaving the actual user-driven logic to the implementer.
3837
- **Built-in Data Tables**: Other systems offer rich, pre-wired data table components with pagination, sorting, row selection, expandable rows, and more. These components manage state, callbacks, and ARIA attributes internally.

0 commit comments

Comments
 (0)