2020-08-04 23:37:35 +02:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
module.exports = {
|
2020-08-05 00:10:06 +02:00
|
|
|
extends: ["stylelint-config-standard", "stylelint-config-prettier"],
|
2020-08-04 23:37:35 +02:00
|
|
|
rules: {
|
2020-08-04 23:50:46 +02:00
|
|
|
// 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,
|
|
|
|
|
2020-08-05 00:10:06 +02:00
|
|
|
// Disable standard rules we don't comply with yet
|
|
|
|
"comment-empty-line-before": null,
|
|
|
|
"declaration-empty-line-before": null,
|
|
|
|
"length-zero-no-unit": null,
|
2020-08-04 23:37:35 +02:00
|
|
|
|
|
|
|
// Limit language features
|
2018-10-10 18:49:38 +02:00
|
|
|
"color-no-hex": true,
|
2019-01-23 00:33:18 +01:00
|
|
|
"color-named": "never",
|
2020-08-04 23:37:35 +02:00
|
|
|
},
|
|
|
|
};
|