Apply prettier formatting

This commit is contained in:
Michael Weimann 2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
No known key found for this signature in database
GPG key ID: 53F535A266BB9584
1576 changed files with 65385 additions and 62478 deletions

View file

@ -1,13 +1,8 @@
module.exports = {
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier",
],
customSyntax: require('postcss-scss'),
"plugins": [
"stylelint-scss",
],
"rules": {
extends: ["stylelint-config-standard", "stylelint-config-prettier"],
customSyntax: require("postcss-scss"),
plugins: ["stylelint-scss"],
rules: {
"color-hex-case": null,
"comment-empty-line-before": null,
"declaration-empty-line-before": null,
@ -22,15 +17,18 @@ module.exports = {
"at-rule-no-unknown": null,
"no-descending-specificity": null,
"no-empty-first-line": true,
"scss/at-rule-no-unknown": [true, {
// https://github.com/vector-im/element-web/issues/10544
"ignoreAtRules": ["define-mixin"],
}],
"scss/at-rule-no-unknown": [
true,
{
// https://github.com/vector-im/element-web/issues/10544
ignoreAtRules: ["define-mixin"],
},
],
// Disable `&_kind`-style selectors while our unused CSS approach is "Find & Replace All"
// rather than a CI thing. Shorthand selectors are harder to detect when searching for a
// class name. This regex is trying to *allow* anything except `&words`, such as `&::before`,
// `&.mx_Class`, etc.
"selector-nested-pattern": "^((&[ :.\\\[,])|([^&]))",
"selector-nested-pattern": "^((&[ :.\\[,])|([^&]))",
"declaration-colon-space-after": "always-single-line",
// Disable some defaults
"selector-class-pattern": null,
@ -52,4 +50,4 @@ module.exports = {
"number-max-precision": null,
"no-invalid-double-slash-comments": true,
},
}
};