diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-22 11:31:59 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-22 11:31:59 +0800 |
commit | a596ff989f623791f384c076f451ffdf9ef00779 (patch) | |
tree | f33fc850c2c38155a0fef1052e283aef9d979b86 | |
parent | 42f7b2f0054d1b8c990a9c514b17396713506ab7 (diff) |
chore: update stylelint config
-rw-r--r-- | .stylelintrc.json | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json index 029a623..10506f9 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json | |||
@@ -37,6 +37,7 @@ | |||
37 | "display", | 37 | "display", |
38 | "overflow", | 38 | "overflow", |
39 | "box-sizing", | 39 | "box-sizing", |
40 | "flex", | ||
40 | "width", | 41 | "width", |
41 | "height", | 42 | "height", |
42 | "margin", | 43 | "margin", |
@@ -49,10 +50,10 @@ | |||
49 | "noEmptyLineBetween": true, | 50 | "noEmptyLineBetween": true, |
50 | "properties": [ | 51 | "properties": [ |
51 | "position", | 52 | "position", |
53 | "left", | ||
52 | "top", | 54 | "top", |
53 | "right", | 55 | "right", |
54 | "bottom", | 56 | "bottom", |
55 | "left", | ||
56 | "z-index" | 57 | "z-index" |
57 | ] | 58 | ] |
58 | }, | 59 | }, |
@@ -96,15 +97,15 @@ | |||
96 | ] | 97 | ] |
97 | }, | 98 | }, |
98 | { | 99 | { |
99 | "groupName": "Misc", | 100 | "groupName": "Visual", |
100 | "emptyLineBefore": "always", | 101 | "emptyLineBefore": "always", |
101 | "noEmptyLineBetween": true, | 102 | "noEmptyLineBetween": true, |
102 | "properties": [ | 103 | "properties": [ |
104 | "transform", | ||
103 | "opacity", | 105 | "opacity", |
104 | "visibility", | ||
105 | "cursor", | ||
106 | "transition", | 106 | "transition", |
107 | "transform" | 107 | "visibility", |
108 | "cursor" | ||
108 | ] | 109 | ] |
109 | } | 110 | } |
110 | ] | 111 | ] |