-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
44 lines (40 loc) · 1.19 KB
/
index.js
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
36
37
38
39
40
41
42
43
44
// @ts-check
import { animation } from "./groups/animation.js";
import { boxModel } from "./groups/box-model.js";
import { content } from "./groups/content.js";
import { misc } from "./groups/miscellaneous.js";
import { positioning } from "./groups/positioning.js";
import { special } from "./groups/special.js";
import { transition } from "./groups/transition.js";
import { typography } from "./groups/typography.js";
import { visual } from "./groups/visual.js";
export default {
plugins: ["stylelint-order", "stylelint-prettier"],
customSyntax: "postcss-scss",
// extends: ["stylelint-config-idiomatic-order"],
rules: {
"prettier/prettier": [true, { printWidth: 150 }],
"order/properties-order": [
[
special,
content,
positioning,
boxModel,
typography,
visual,
transition,
animation,
misc,
],
{
emptyLineBeforeUnspecified: "threshold",
emptyLineMinimumPropertyThreshold: 7,
},
],
"rule-empty-line-before": [
"always-multi-line",
{ except: ["first-nested"], ignore: ["after-comment"] },
],
},
ignoreFiles: ["**/node_modules/**/*", "**/dist/**/*", "**/*.js"],
};