2020-08-04 23:37:35 +02:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
module.exports = {
|
2020-08-04 23:58:56 +02:00
|
|
|
extends: ["stylelint-config-prettier"],
|
2020-08-04 23:37:35 +02:00
|
|
|
rules: {
|
|
|
|
// Stylistic rules for CSS.
|
2018-07-26 22:22:13 +02:00
|
|
|
"function-whitespace-after": "always",
|
|
|
|
|
|
|
|
"value-keyword-case": "lower",
|
|
|
|
|
|
|
|
"selector-attribute-operator-space-after": "never",
|
|
|
|
"selector-attribute-operator-space-before": "never",
|
|
|
|
"selector-pseudo-element-colon-notation": "double",
|
|
|
|
"selector-type-case": "lower",
|
2018-07-21 15:19:49 +02:00
|
|
|
|
2018-07-26 22:22:13 +02:00
|
|
|
"media-feature-range-operator-space-after": "always",
|
|
|
|
"media-feature-range-operator-space-before": "always",
|
|
|
|
|
2018-07-21 15:19:49 +02:00
|
|
|
"comment-whitespace-inside": "always",
|
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
|
|
|
},
|
|
|
|
};
|