-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylelint.config.js
More file actions
35 lines (35 loc) · 961 Bytes
/
stylelint.config.js
File metadata and controls
35 lines (35 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* eslint-disable unicorn/no-null */
/** @type {import('stylelint').Config} */
export default {
extends: ["stylelint-config-standard"],
plugins: ["stylelint-order"],
rules: {
"at-rule-no-unknown": [
true,
{
ignoreAtRules: ["theme", "layer", "utility", "component"],
},
],
"custom-property-empty-line-before": null,
"custom-property-pattern": null,
"function-no-unknown": [
true,
{
ignoreFunctions: ["theme"],
},
],
"import-notation": null,
"media-query-no-invalid": [
true,
{
ignoreFunctions: ["theme"],
},
],
"nesting-selector-no-missing-scoping-root": null,
"no-descending-specificity": null,
"order/order": [["custom-properties", "declarations", "rules", "at-rules"]],
"order/properties-order": [["all"], { unspecified: "bottomAlphabetical" }],
"selector-class-pattern": null,
"selector-id-pattern": null,
},
};