mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
styles: Enable most stylelint-config-recommended rules.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
extends: ["stylelint-config-prettier"],
|
||||
extends: ["stylelint-config-recommended", "stylelint-config-prettier"],
|
||||
rules: {
|
||||
// Add some exceptions for recommended rules
|
||||
"at-rule-no-unknown": [true, {ignoreAtRules: ["extend"]}],
|
||||
"property-no-unknown": [true, {ignoreProperties: [/^mso-/, "user-drag"]}],
|
||||
|
||||
// Disable recommended rules we don't comply with yet
|
||||
"declaration-block-no-duplicate-properties": null,
|
||||
"declaration-block-no-shorthand-property-overrides": null,
|
||||
"font-family-no-missing-generic-family-keyword": null,
|
||||
"no-descending-specificity": null,
|
||||
"no-duplicate-selectors": null,
|
||||
|
||||
// Stylistic rules for CSS.
|
||||
"function-whitespace-after": "always",
|
||||
|
||||
|
Reference in New Issue
Block a user