Skip to content

Commit 5be9e43

Browse files
committed
TomaNistor.com | Removed html task from watch task in Gulp, added .csscomb.json file for linting
1 parent b76e5bb commit 5be9e43

File tree

2 files changed

+235
-1
lines changed

2 files changed

+235
-1
lines changed

.csscomb.json

Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
{
2+
"always-semicolon": true,
3+
"block-indent": " ",
4+
"color-case": "upper",
5+
"color-shorthand": true,
6+
"eof-newline": true,
7+
"element-case": "lower",
8+
"leading-zero": false,
9+
"quotes": "double",
10+
"remove-empty-rulesets": true,
11+
"space-after-colon": " ",
12+
"space-after-combinator": " ",
13+
"space-after-opening-brace": "\n",
14+
"space-after-selector-delimiter": "\n",
15+
"space-before-colon": "",
16+
"space-before-combinator": " ",
17+
"space-before-closing-brace": "\n",
18+
"space-before-opening-brace": " ",
19+
"space-before-selector-delimiter": "",
20+
"space-between-declarations": "\n",
21+
"sort-order": [
22+
[
23+
"$extend",
24+
"$include",
25+
"content",
26+
"quotes",
27+
"display",
28+
"visibility",
29+
"position",
30+
"z-index",
31+
"top",
32+
"right",
33+
"bottom",
34+
"left",
35+
"box-sizing",
36+
"grid",
37+
"grid-after",
38+
"grid-area",
39+
"grid-auto-columns",
40+
"grid-auto-flow",
41+
"grid-auto-rows",
42+
"grid-before",
43+
"grid-column",
44+
"grid-column-end",
45+
"grid-column-gap",
46+
"grid-column-start",
47+
"grid-columns",
48+
"grid-end",
49+
"grid-gap",
50+
"grid-row",
51+
"grid-row-end",
52+
"grid-row-gap",
53+
"grid-row-start",
54+
"grid-rows",
55+
"grid-start",
56+
"grid-template",
57+
"grid-template-areas",
58+
"grid-template-columns",
59+
"grid-template-rows",
60+
"flex",
61+
"flex-basis",
62+
"flex-direction",
63+
"flex-flow",
64+
"flex-grow",
65+
"flex-shrink",
66+
"flex-wrap",
67+
"align-content",
68+
"align-items",
69+
"align-self",
70+
"justify-content",
71+
"order",
72+
"width",
73+
"min-width",
74+
"max-width",
75+
"height",
76+
"min-height",
77+
"max-height",
78+
"margin",
79+
"margin-top",
80+
"margin-right",
81+
"margin-bottom",
82+
"margin-left",
83+
"padding",
84+
"padding-top",
85+
"padding-right",
86+
"padding-bottom",
87+
"padding-left",
88+
"float",
89+
"clear",
90+
"overflow",
91+
"overflow-x",
92+
"overflow-y",
93+
"clip",
94+
"zoom",
95+
"columns",
96+
"column-gap",
97+
"column-fill",
98+
"column-rule",
99+
"column-span",
100+
"column-count",
101+
"column-width",
102+
"table-layout",
103+
"empty-cells",
104+
"caption-side",
105+
"border-spacing",
106+
"border-collapse",
107+
"list-style",
108+
"list-style-position",
109+
"list-style-type",
110+
"list-style-image",
111+
"transform",
112+
"transform-origin",
113+
"transform-style",
114+
"backface-visibility",
115+
"perspective",
116+
"perspective-origin",
117+
"transition",
118+
"transition-property",
119+
"transition-duration",
120+
"transition-timing-function",
121+
"transition-delay",
122+
"animation",
123+
"animation-name",
124+
"animation-duration",
125+
"animation-play-state",
126+
"animation-timing-function",
127+
"animation-delay",
128+
"animation-iteration-count",
129+
"animation-direction",
130+
"border",
131+
"border-top",
132+
"border-right",
133+
"border-bottom",
134+
"border-left",
135+
"border-width",
136+
"border-top-width",
137+
"border-right-width",
138+
"border-bottom-width",
139+
"border-left-width",
140+
"border-style",
141+
"border-top-style",
142+
"border-right-style",
143+
"border-bottom-style",
144+
"border-left-style",
145+
"border-radius",
146+
"border-top-left-radius",
147+
"border-top-right-radius",
148+
"border-bottom-left-radius",
149+
"border-bottom-right-radius",
150+
"border-color",
151+
"border-top-color",
152+
"border-right-color",
153+
"border-bottom-color",
154+
"border-left-color",
155+
"outline",
156+
"outline-color",
157+
"outline-offset",
158+
"outline-style",
159+
"outline-width",
160+
"stroke-width",
161+
"stroke-linecap",
162+
"stroke-dasharray",
163+
"stroke-dashoffset",
164+
"stroke",
165+
"opacity",
166+
"background",
167+
"background-color",
168+
"background-image",
169+
"background-repeat",
170+
"background-position",
171+
"background-size",
172+
"box-shadow",
173+
"fill",
174+
"color",
175+
"font",
176+
"font-family",
177+
"font-size",
178+
"font-size-adjust",
179+
"font-stretch",
180+
"font-effect",
181+
"font-style",
182+
"font-variant",
183+
"font-weight",
184+
"font-emphasize",
185+
"font-emphasize-position",
186+
"font-emphasize-style",
187+
"letter-spacing",
188+
"line-height",
189+
"list-style",
190+
"word-spacing",
191+
"text-align",
192+
"text-align-last",
193+
"text-decoration",
194+
"text-indent",
195+
"text-justify",
196+
"text-overflow",
197+
"text-overflow-ellipsis",
198+
"text-overflow-mode",
199+
"text-rendering",
200+
"text-outline",
201+
"text-shadow",
202+
"text-transform",
203+
"text-wrap",
204+
"word-wrap",
205+
"word-break",
206+
"text-emphasis",
207+
"text-emphasis-color",
208+
"text-emphasis-style",
209+
"text-emphasis-position",
210+
"vertical-align",
211+
"white-space",
212+
"word-spacing",
213+
"hyphens",
214+
"src",
215+
"tab-size",
216+
"counter-reset",
217+
"counter-increment",
218+
"resize",
219+
"cursor",
220+
"pointer-events",
221+
"speak",
222+
"user-select",
223+
"nav-index",
224+
"nav-up",
225+
"nav-right",
226+
"nav-down",
227+
"nav-left"
228+
]
229+
],
230+
"sort-order-fallback": "abc",
231+
"strip-spaces": true,
232+
"tab-size": true,
233+
"unitless-zero": true
234+
}

gulpfile.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ gulp.task('scss', (cb) => {
4444
})
4545

4646
// Watch scripts and styles folders for changes
47-
gulp.task('watch', ['js', 'scss', 'html'], () => {
47+
gulp.task('watch', ['js', 'scss'], () => {
4848
gulp.watch(`${scriptsDir}src/*.js`, ['js']),
4949
gulp.watch(`${stylesDir}scss/*.scss`, ['scss'])
5050
})

0 commit comments

Comments
 (0)