質問編集履歴
3
内容の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -235,4 +235,7 @@
|
|
235
235
|
- エディター:VSCODE
|
236
236
|
- 拡張機能:[CSScomb](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-csscomb)
|
237
237
|
[DartJS Sass Compiler and Sass Watcher](https://marketplace.visualstudio.com/items?itemName=codelios.dartsass)
|
238
|
+
|
239
|
+
scssのコンパイルは拡張機能で行っています。
|
240
|
+
|
238
241
|
**以前から閉じタグの数が合わないと同じ内容のエラーが出ていました。**
|
2
ファイル内容の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,6 +14,13 @@
|
|
14
14
|
|
15
15
|
### CSScombの設定
|
16
16
|
```
|
17
|
+
setting.jsonの設定
|
18
|
+
"csscomb.preset": "~/.vscode/csscomb.json",
|
19
|
+
"csscomb.formatOnSave": true,
|
20
|
+
"csscomb.syntaxAssociations": {
|
21
|
+
"postcss": "scss"
|
22
|
+
},
|
23
|
+
|
17
24
|
csscomb.jsonの設定
|
18
25
|
{
|
19
26
|
"always-semicolon": true,
|
1
ファイルの内容を記述
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,6 +12,191 @@
|
|
12
12
|
@include f.mixin;
|
13
13
|
```
|
14
14
|
|
15
|
+
### CSScombの設定
|
16
|
+
```
|
17
|
+
csscomb.jsonの設定
|
18
|
+
{
|
19
|
+
"always-semicolon": true,
|
20
|
+
"block-indent": " ",
|
21
|
+
"color-case": "lower",
|
22
|
+
"color-shorthand": true,
|
23
|
+
"element-case": "lower",
|
24
|
+
"leading-zero": false,
|
25
|
+
"quotes": "double",
|
26
|
+
"space-before-colon": "",
|
27
|
+
"space-after-colon": " ",
|
28
|
+
"space-before-combinator": " ",
|
29
|
+
"space-after-combinator": " ",
|
30
|
+
"space-between-declarations": "\n",
|
31
|
+
"space-before-opening-brace": " ",
|
32
|
+
"space-after-opening-brace": "\n",
|
33
|
+
"space-after-selector-delimiter": " ",
|
34
|
+
"space-before-selector-delimiter": " ",
|
35
|
+
"space-before-closing-brace": "\n",
|
36
|
+
"tab-size": true,
|
37
|
+
"unitless-zero": true,
|
38
|
+
"vendor-prefix-align": true,
|
39
|
+
"sort-order": [
|
40
|
+
[
|
41
|
+
"$variable",
|
42
|
+
"$import",
|
43
|
+
"$extend",
|
44
|
+
"display",
|
45
|
+
"flex",
|
46
|
+
"flex-grow",
|
47
|
+
"flex-shrink",
|
48
|
+
"flex-basis",
|
49
|
+
"flex-flow",
|
50
|
+
"flex-direction",
|
51
|
+
"flex-wrap",
|
52
|
+
"justify-content",
|
53
|
+
"align-content",
|
54
|
+
"align-items",
|
55
|
+
"align-self",
|
56
|
+
"order",
|
57
|
+
"visibility",
|
58
|
+
"opacity",
|
59
|
+
"clip ",
|
60
|
+
"clip-path",
|
61
|
+
"list-style",
|
62
|
+
"list-style-type",
|
63
|
+
"list-style-position",
|
64
|
+
"list-style-image",
|
65
|
+
"position",
|
66
|
+
"top",
|
67
|
+
"right",
|
68
|
+
"bottom",
|
69
|
+
"left",
|
70
|
+
"z-index",
|
71
|
+
"float",
|
72
|
+
"clear",
|
73
|
+
"transform",
|
74
|
+
"width",
|
75
|
+
"min-width",
|
76
|
+
"max-width",
|
77
|
+
"height",
|
78
|
+
"min-height",
|
79
|
+
"max-height",
|
80
|
+
"margin",
|
81
|
+
"margin-top",
|
82
|
+
"margin-right",
|
83
|
+
"margin-bottom",
|
84
|
+
"margin-left",
|
85
|
+
"padding",
|
86
|
+
"padding-top",
|
87
|
+
"padding-right",
|
88
|
+
"padding-bottom",
|
89
|
+
"padding-left",
|
90
|
+
"overflow",
|
91
|
+
"overflow-x",
|
92
|
+
"overflow-y",
|
93
|
+
"border",
|
94
|
+
"border-top",
|
95
|
+
"border-right",
|
96
|
+
"border-bottom",
|
97
|
+
"border-left",
|
98
|
+
"border-width",
|
99
|
+
"border-top-width",
|
100
|
+
"border-right-width",
|
101
|
+
"border-bottom-width",
|
102
|
+
"border-left-width",
|
103
|
+
"border-style",
|
104
|
+
"border-top-style",
|
105
|
+
"border-right-style",
|
106
|
+
"border-bottom-style",
|
107
|
+
"border-left-style",
|
108
|
+
"border-color",
|
109
|
+
"border-top-color",
|
110
|
+
"border-right-color",
|
111
|
+
"border-bottom-color",
|
112
|
+
"border-left-color",
|
113
|
+
"border-image",
|
114
|
+
"border-image-source",
|
115
|
+
"border-image-slice",
|
116
|
+
"border-image-width",
|
117
|
+
"border-image-outset",
|
118
|
+
"border-image-repeat",
|
119
|
+
"border-radius",
|
120
|
+
"border-top-left-radius",
|
121
|
+
"border-top-right-radius",
|
122
|
+
"border-bottom-right-radius",
|
123
|
+
"border-bottom-left-radius",
|
124
|
+
"box-sizing",
|
125
|
+
"box-shadow",
|
126
|
+
"background",
|
127
|
+
"background-image",
|
128
|
+
"background-position",
|
129
|
+
"background-size",
|
130
|
+
"background-repeat",
|
131
|
+
"background-origin",
|
132
|
+
"background-clip",
|
133
|
+
"background-attachment",
|
134
|
+
"background-color",
|
135
|
+
"color",
|
136
|
+
"font",
|
137
|
+
"font-style",
|
138
|
+
"font-variant",
|
139
|
+
"font-weight",
|
140
|
+
"font-stretch",
|
141
|
+
"font-size",
|
142
|
+
"line-height",
|
143
|
+
"font-family",
|
144
|
+
"letter-spacing",
|
145
|
+
"text-decoration",
|
146
|
+
"text-decoration-color",
|
147
|
+
"text-decoration-style",
|
148
|
+
"text-decoration-line",
|
149
|
+
"text-align",
|
150
|
+
"text-indent",
|
151
|
+
"text-transform",
|
152
|
+
"white-space",
|
153
|
+
"word-break",
|
154
|
+
"word-spacing",
|
155
|
+
"word-wrap",
|
156
|
+
"text-shadow",
|
157
|
+
"table-layout",
|
158
|
+
"border-collapse",
|
159
|
+
"border-spacing",
|
160
|
+
"empty-cells",
|
161
|
+
"caption-side",
|
162
|
+
"vertical-align",
|
163
|
+
"content",
|
164
|
+
"quotes",
|
165
|
+
"counter-increment",
|
166
|
+
"counter-reset",
|
167
|
+
"outline",
|
168
|
+
"outline-color",
|
169
|
+
"outline-style",
|
170
|
+
"outline-width",
|
171
|
+
"cursor",
|
172
|
+
"resize",
|
173
|
+
"transition",
|
174
|
+
"transition-property",
|
175
|
+
"transition-duration",
|
176
|
+
"transition-timing-function",
|
177
|
+
"transition-delay",
|
178
|
+
"animation",
|
179
|
+
"animation-name",
|
180
|
+
"animation-duration",
|
181
|
+
"animation-timing-function",
|
182
|
+
"animation-delay",
|
183
|
+
"animation-iteration-count",
|
184
|
+
"animation-direction",
|
185
|
+
"animation-fill-mode",
|
186
|
+
"animation-play-state",
|
187
|
+
"unicode-bidi",
|
188
|
+
"direction",
|
189
|
+
"page-break-before",
|
190
|
+
"page-break-after",
|
191
|
+
"page-break-inside",
|
192
|
+
"widows",
|
193
|
+
"orphans"
|
194
|
+
]
|
195
|
+
]
|
196
|
+
}
|
197
|
+
|
198
|
+
```
|
199
|
+
|
15
200
|
### 発生している問題・エラーメッセージ
|
16
201
|
|
17
202
|
```
|
@@ -41,7 +226,6 @@
|
|
41
226
|
|
42
227
|
### 補足情報
|
43
228
|
- エディター:VSCODE
|
44
|
-
- 拡張機能:CSScomb
|
229
|
+
- 拡張機能:[CSScomb](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-csscomb)
|
45
|
-
DartJS Sass Compiler and Sass Watcher
|
230
|
+
[DartJS Sass Compiler and Sass Watcher](https://marketplace.visualstudio.com/items?itemName=codelios.dartsass)
|
46
|
-
|
47
231
|
**以前から閉じタグの数が合わないと同じ内容のエラーが出ていました。**
|