-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Circuit UI's Stylelint plugin (#956)
- Loading branch information
1 parent
08122eb
commit 1855159
Showing
6 changed files
with
205 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sumup/foundry': minor | ||
--- | ||
|
||
Added support for [Circuit UI's Stylelint plugin](https://circuit.sumup.com/?path=/docs/packages-stylelint-plugin-circuit-ui--docs). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`stylelint > with options > should return a config for { plugins: ['Circuit UI'] } 1`] = ` | ||
{ | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-recess-order", | ||
], | ||
"plugins": [ | ||
"stylelint-no-unsupported-browser-features", | ||
"@sumup/circuit-ui", | ||
], | ||
"reportDescriptionlessDisables": true, | ||
"reportInvalidScopeDisables": true, | ||
"reportNeedlessDisables": true, | ||
"rules": { | ||
"@sumup/circuit-ui/component-lifecycle-imports": "error", | ||
"@sumup/circuit-ui/no-deprecated-components": "warn", | ||
"@sumup/circuit-ui/no-deprecated-props": "warn", | ||
"@sumup/circuit-ui/no-invalid-custom-properties": "error", | ||
"@sumup/circuit-ui/no-renamed-props": "error", | ||
"declaration-block-no-redundant-longhand-properties": null, | ||
"media-feature-range-notation": [ | ||
"prefix", | ||
], | ||
"no-descending-specificity": null, | ||
"plugin/no-unsupported-browser-features": [ | ||
true, | ||
{ | ||
"ignorePartialSupport": true, | ||
"severity": "warning", | ||
}, | ||
], | ||
"selector-class-pattern": null, | ||
"selector-not-notation": [ | ||
"simple", | ||
], | ||
"selector-pseudo-class-no-unknown": [ | ||
true, | ||
{ | ||
"ignorePseudoClasses": [ | ||
"global", | ||
], | ||
}, | ||
], | ||
"value-keyword-case": [ | ||
"lower", | ||
{ | ||
"camelCaseSvgKeywords": true, | ||
}, | ||
], | ||
}, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters