.stylelintrc.js 747 B raw
1
module.exports = {
2
	extends: ["stylelint-config-standard", "stylelint-config-prettier"],
3
	overrides: [
4
		{
5
			files: ["*.astro", "**/*.astro"],
6
			customSyntax: "postcss-html",
7
		},
8
	],
9
	rules: {
10
		"at-rule-no-unknown": [
11
			true,
12
			{
13
				ignoreAtRules: ["tailwind", "apply", "variants", "responsive", "screen"],
14
			},
15
		],
16
		"function-no-unknown": [true, { ignoreFunctions: ["theme"] }],
17
		"declaration-block-trailing-semicolon": null,
18
		"declaration-empty-line-before": "never",
19
		"no-descending-specificity": null,
20
		"custom-property-empty-line-before": "never",
21
		"hue-degree-notation": "number",
22
		"alpha-value-notation": "number",
23
		"selector-pseudo-class-no-unknown": [
24
			true,
25
			{
26
				ignorePseudoClasses: ["global"],
27
			},
28
		],
29
	},
30
};