1 | ### 1.5.1
|
2 |
|
3 | cover basic quote check (not very robust): https://github.com/rossPatton/stylint/issues/271
|
4 |
|
5 |
|
6 | ### 1.5.0
|
7 |
|
8 | adds column number for errors to output
|
9 |
|
10 | improves default reporter output
|
11 |
|
12 | string and whitespace parsing is now much improved: https://github.com/rossPatton/stylint/issues/302
|
13 |
|
14 | set preferGlobal to false: https://github.com/rossPatton/stylint/issues/278
|
15 |
|
16 | support for root selectors (and other newish stylus features): https://github.com/rossPatton/stylint/issues/279
|
17 |
|
18 | support for stylintrc via package.json: https://github.com/rossPatton/stylint/issues/308
|
19 |
|
20 | custom props should not throw errs: https://github.com/rossPatton/stylint/issues/320
|
21 |
|
22 | improve semicolons check: https://github.com/rossPatton/stylint/issues/315
|
23 |
|
24 | placeholder check is now a little smarter: https://github.com/rossPatton/stylint/issues/280
|
25 |
|
26 |
|
27 | ### 1.4.1
|
28 |
|
29 | this PR: https://github.com/rossPatton/stylint/issues/324
|
30 |
|
31 |
|
32 | ### 1.4.0
|
33 |
|
34 | added the alias `customProperties` for the `mixins` config option, to make it's purpose more clear
|
35 |
|
36 | globbing support via the cli is improved
|
37 |
|
38 | stylint now supports excluding files or directories via a `.stylintignore` file or via a package.json property (stylintignore: ['path/to/file']). relative paths only
|
39 |
|
40 | this issue fixed: https://github.com/rossPatton/stylint/issues/323
|
41 |
|
42 | this issue fixed: https://github.com/rossPatton/stylint/issues/321
|
43 |
|
44 |
|
45 | ### 1.3.10
|
46 |
|
47 | improves valid check whitelist
|
48 |
|
49 | add support for css-modules composes property by default
|
50 |
|
51 | read me updates
|
52 |
|
53 | test updates
|
54 |
|
55 | these prs:
|
56 |
|
57 | https://github.com/rossPatton/stylint/pull/294
|
58 |
|
59 | https://github.com/rossPatton/stylint/pull/297
|
60 |
|
61 | https://github.com/rossPatton/stylint/pull/298
|
62 |
|
63 |
|
64 | ### 1.3.9
|
65 |
|
66 | fix exit code bug
|
67 |
|
68 | improve several tests
|
69 |
|
70 | update deps
|
71 |
|
72 | fix typos
|
73 |
|
74 | don't run coverage as part of CI
|
75 |
|
76 | these prs:
|
77 |
|
78 | https://github.com/rossPatton/stylint/pull/283
|
79 |
|
80 | https://github.com/rossPatton/stylint/pull/284
|
81 |
|
82 | https://github.com/rossPatton/stylint/pull/285
|
83 |
|
84 | https://github.com/rossPatton/stylint/pull/286
|
85 |
|
86 | https://github.com/rossPatton/stylint/pull/287
|
87 |
|
88 | https://github.com/rossPatton/stylint/pull/289
|
89 |
|
90 | https://github.com/rossPatton/stylint/pull/291
|
91 |
|
92 | https://github.com/rossPatton/stylint/pull/292
|
93 |
|
94 |
|
95 | ### 1.3.8
|
96 |
|
97 | updates to readme
|
98 |
|
99 | reporter improvements
|
100 |
|
101 | more fixes to leading zero check
|
102 |
|
103 | this pr: https://github.com/rossPatton/stylint/pull/261
|
104 |
|
105 | this pr: https://github.com/rossPatton/stylint/pull/263
|
106 |
|
107 | this pr: https://github.com/rossPatton/stylint/pull/264
|
108 |
|
109 | this pr: https://github.com/rossPatton/stylint/pull/267
|
110 |
|
111 | this pr: https://github.com/rossPatton/stylint/pull/268
|
112 |
|
113 | this pr: https://github.com/rossPatton/stylint/pull/270
|
114 |
|
115 |
|
116 | ### 1.3.7
|
117 |
|
118 | this pr: https://github.com/rossPatton/stylint/pull/257
|
119 |
|
120 | this pr: https://github.com/rossPatton/stylint/pull/256
|
121 |
|
122 | this pr: https://github.com/rossPatton/stylint/pull/260
|
123 |
|
124 |
|
125 | ### 1.3.6
|
126 |
|
127 | roll back global quote trimming, move it to the checks where it's actually needed
|
128 |
|
129 | this issue: https://github.com/rossPatton/stylint/issues/232
|
130 |
|
131 |
|
132 | ### 1.3.4
|
133 |
|
134 | remove stray console.log :(
|
135 |
|
136 |
|
137 | ### 1.3.3
|
138 |
|
139 | this issue: https://github.com/rossPatton/stylint/issues/226
|
140 |
|
141 | this issue: https://github.com/rossPatton/stylint/issues/227
|
142 |
|
143 |
|
144 | ### 1.3.2
|
145 |
|
146 | strip out content inside quotes to reduce false positives
|
147 |
|
148 | this issue: https://github.com/rossPatton/stylint/issues/212
|
149 |
|
150 | this issue: https://github.com/rossPatton/stylint/issues/217
|
151 |
|
152 |
|
153 | ### 1.3.1
|
154 |
|
155 | hotfix a border none check issue
|
156 |
|
157 |
|
158 | ### 1.3.0
|
159 |
|
160 | this issue: https://github.com/rossPatton/stylint/issues/205
|
161 |
|
162 | this issue: https://github.com/rossPatton/stylint/issues/207
|
163 |
|
164 | https://github.com/rossPatton/stylint/issues/211
|
165 |
|
166 | this issue: https://github.com/rossPatton/stylint/issues/215
|
167 |
|
168 | callback support: https://github.com/rossPatton/stylint/pull/222
|
169 |
|
170 | exclude pattern support: https://github.com/rossPatton/stylint/pull/223
|
171 |
|
172 |
|
173 | ### 1.2.5
|
174 | add .npmignore file
|
175 |
|
176 | update some dependencies
|
177 |
|
178 | stylint is now smarter about looking for a .stylintrc file. here is the order of importance if you want to specify a custom stylint config:
|
179 |
|
180 | 1 using stylint programmatically and passing in config option as a parameter
|
181 |
|
182 | 2 using stylint via command line and passing in a path to a .stylintrc via the --config flag
|
183 |
|
184 | 3 if the first two fail, stylint will then check the cwd
|
185 |
|
186 | 4 if that fails, stylint will walk up 2 directories looking for a .stylintrc file
|
187 |
|
188 | 5 if THAT fails, it checks the home directory
|
189 |
|
190 | 6 if still nothing, and no errors happened during all this, it will just use the default config
|
191 |
|
192 |
|
193 | ### 1.2.4
|
194 | merged in a number of PRS fixing minor issues
|
195 |
|
196 | vendor-prefixes ( as defined by nib ) no longer triggers $ prefix errors
|
197 |
|
198 | namingConvention outputs better err msg in case the config property is using the object format
|
199 |
|
200 | sortOrder outputs better err msg in case of custom array
|
201 |
|
202 |
|
203 | ### 1.2.3
|
204 | fix this issue: https://github.com/rossPatton/stylint/issues/200
|
205 |
|
206 | fix this issue: https://github.com/rossPatton/stylint/issues/184
|
207 |
|
208 | fix issue where blocks: always would throw false positives
|
209 |
|
210 | fix this issue: https://github.com/rossPatton/stylint/issues/196
|
211 |
|
212 | ### 1.2.2
|
213 | fix this issue: https://github.com/rossPatton/stylint/issues/189
|
214 |
|
215 | ### 1.2.1
|
216 | fix this issue: https://github.com/rossPatton/stylint/issues/184
|
217 |
|
218 | ### 1.2.0
|
219 | transparent mixin use is now supported via the mixins config property
|
220 |
|
221 | fix this issue: https://github.com/rossPatton/stylint/issues/181
|
222 |
|
223 | fix this https://github.com/rossPatton/stylint/issues/177
|
224 |
|
225 | merge this PR: https://github.com/rossPatton/stylint/pull/186
|
226 |
|
227 | merge this PR: https://github.com/rossPatton/stylint/pull/187
|
228 |
|
229 | ### 1.1.3
|
230 | fix this issue: https://github.com/rossPatton/stylint/issues/185
|
231 |
|
232 | ### 1.1.2
|
233 | fix this issue: https://github.com/rossPatton/stylint/issues/183
|
234 |
|
235 | ### 1.1.0
|
236 | this enhancement: https://github.com/rossPatton/stylint/issues/129
|
237 |
|
238 | this enhancement: https://github.com/rossPatton/stylint/issues/139
|
239 |
|
240 | address new issue from: https://github.com/rossPatton/stylint/issues/144
|
241 |
|
242 | address new issue from: https://github.com/rossPatton/stylint/issues/162
|
243 |
|
244 | address new issue from: https://github.com/rossPatton/stylint/issues/164
|
245 |
|
246 | this issue: https://github.com/rossPatton/stylint/issues/168
|
247 |
|
248 | this issue: https://github.com/rossPatton/stylint/issues/173
|
249 |
|
250 | this issue: https://github.com/rossPatton/stylint/issues/177
|
251 |
|
252 | fix versioning mistake in package.json
|
253 |
|
254 | ### 1.0.11
|
255 | fix this issue: https://github.com/rossPatton/stylint/issues/164
|
256 |
|
257 | fix versioning mistake in package.json
|
258 |
|
259 | ### 1.0.10
|
260 | use yargs for command line arguments
|
261 |
|
262 | add editorconfig
|
263 |
|
264 | fix incorrect links in readme
|
265 |
|
266 | rule of silence
|
267 |
|
268 | allow comments in stylintrc
|
269 |
|
270 | fix this issue: https://github.com/rossPatton/stylint/issues/143
|
271 |
|
272 | fix this issue: https://github.com/rossPatton/stylint/issues/144
|
273 |
|
274 | fix this issue: https://github.com/rossPatton/stylint/issues/145
|
275 |
|
276 | fix this issue: https://github.com/rossPatton/stylint/issues/158
|
277 |
|
278 | fix this issue: https://github.com/rossPatton/stylint/issues/159
|
279 |
|
280 | fix this issue: https://github.com/rossPatton/stylint/issues/162
|
281 |
|
282 | fix this issue: https://github.com/rossPatton/stylint/issues/163
|
283 |
|
284 | fix this issue: https://github.com/rossPatton/stylint/issues/165
|
285 |
|
286 | #### 1.0.9
|
287 | trying to fix this: https://github.com/rossPatton/stylint/issues/128 resulted in a bug where stylint errors if commentSpace is not defined in the config. this is a dumb mistake, i am dumb
|
288 |
|
289 | #### 1.0.8
|
290 | numerous fixes for post 1.0 checks (semicolons: always, colons: always, leadingZero: always)
|
291 |
|
292 | fix for line comment space edge case
|
293 |
|
294 |
|
295 | #### 1.0.7
|
296 | attempt to address line feed issues on windows
|
297 |
|
298 |
|
299 | #### 1.0.6
|
300 | fix some issues with colons: always and semicolons: always [#123](https://github.com/rossPatton/stylint/issues/123) && [#124](https://github.com/rossPatton/stylint/issues/124)
|
301 |
|
302 | add more properties and tags to the whitelist (picture, src)
|
303 |
|
304 |
|
305 | #### 1.0.5
|
306 | found some issues with setState (and how it affected the global duplicate check), should be fixed
|
307 |
|
308 | also, added direct tests for setState method (before it was just being tested indirectly)
|
309 |
|
310 | fixed issue leadingZero 'always' setting finding false positives
|
311 |
|
312 |
|
313 | #### 1.0.4
|
314 | added a real license
|
315 |
|
316 |
|
317 | #### 1.0.3
|
318 | cleanup a couple files, fit a maxWarnings bug in lint
|
319 |
|
320 |
|
321 | #### 1.0.2
|
322 | fixes ( or at least makes it less bad ) sortOrder regression, where cache was not being properly reset when linting directories
|
323 |
|
324 | fix hashend, colon always, valid, and var prefix regressions
|
325 |
|
326 | #### 1.0.1
|
327 | aaaand now everything is broken
|
328 |
|
329 | quickie fixes to mitigate issues with colon: 'always', sortOrder, and whitespace issues before i pass out of exhaustion
|
330 |
|
331 | #### 1.0.0
|
332 | various bug fixes
|
333 |
|
334 | `@ignore` toggle added
|
335 |
|
336 | cranked up default settings
|
337 |
|
338 | added many many new options, as well as severity for all options (warning or error)
|
339 |
|
340 | better node module support
|
341 |
|
342 | more ways of passing in config objects (including auto detect)
|
343 |
|
344 | support for custom reporters
|
345 |
|
346 | refactor
|
347 |
|
348 | test coverage
|
349 |
|
350 | api changes
|
351 |
|
352 | #### 0.9.10
|
353 | fix edge case issue caused by file globbing that could potentially cause stylint to hang
|
354 |
|
355 | ##### 0.9.9
|
356 | make universal less greedy
|
357 |
|
358 | minor bug fix, some valid properties coming up as non-valid: https://github.com/rossPatton/stylint/issues/100
|
359 |
|
360 | duplicates was reporting false positives if sortOrder also on. this has been fixed in the 1.0 branch but wasn't brought over
|
361 |
|
362 | nesting / depthlimit check was counting extra white space between properties and value. technically, that's bad practice but it should be a separate check so lets remove that from the check: https://github.com/rossPatton/stylint/issues/101
|
363 |
|
364 | ##### 0.9.8
|
365 | minor bug fix: some valid properties (anything with -bottom) were coming up as non-valid.
|
366 |
|
367 | ##### 0.9.7
|
368 | added mso-table-lspace and mso-table-rspace to property whitelist (outlook)
|
369 |
|
370 | fix this issue: https://github.com/rossPatton/stylint/issues/95
|
371 |
|
372 | fix this issue: https://github.com/rossPatton/stylint/issues/96
|
373 |
|
374 | ##### 0.9.6
|
375 | sortOrder check added: replaces alphabetical check: https://github.com/rossPatton/stylint/pull/92
|
376 |
|
377 | improvement to comma check
|
378 |
|
379 | ##### 0.9.5
|
380 | fix issue with efficient check: https://github.com/rossPatton/stylint/issues/91
|
381 |
|
382 | add stackedProperties check: https://github.com/rossPatton/stylint/issues/77
|
383 |
|
384 | which also 'solves' this imo: https://github.com/rossPatton/stylint/issues/63
|
385 |
|
386 | resolve issue where hash check interfered with quotes check: https://github.com/rossPatton/stylint/issues/47
|
387 |
|
388 | ##### 0.9.4
|
389 | hotfix for duplicates check regression https://github.com/rossPatton/stylint/commit/29d42014d315e6ef9dfeebf20636b43f13f2377b
|
390 |
|
391 | ##### 0.9.3
|
392 | https://github.com/rossPatton/stylint/issues/78
|
393 |
|
394 | https://github.com/rossPatton/stylint/pull/66
|
395 |
|
396 | https://github.com/rossPatton/stylint/issues/62
|
397 |
|
398 | https://github.com/rossPatton/stylint/issues/61
|
399 |
|
400 | https://github.com/rossPatton/stylint/issues/60
|
401 |
|
402 | https://github.com/rossPatton/stylint/pull/59
|
403 |
|
404 | https://github.com/rossPatton/stylint/issues/57
|
405 |
|
406 | https://github.com/rossPatton/stylint/issues/55
|
407 |
|
408 | https://github.com/rossPatton/stylint/issues/54
|
409 |
|
410 | https://github.com/rossPatton/stylint/issues/52
|
411 |
|
412 | https://github.com/rossPatton/stylint/issues/44
|
413 |
|
414 | ##### 0.9.2
|
415 | namingConvention improvements: https://github.com/rossPatton/stylint/issues/50
|
416 |
|
417 | valid improvements: https://github.com/rossPatton/stylint/issues/46
|
418 |
|
419 | universal improvements: https://github.com/rossPatton/stylint/issues/45
|
420 |
|
421 | ##### 0.9.1
|
422 | strengthen naming convention checks to better accomodate interpolation
|
423 |
|
424 | update documentation for placeholders and colors options
|
425 |
|
426 | ##### 0.9.0
|
427 | add hexidecimal color check
|
428 |
|
429 | ##### 0.8.15
|
430 | add more svg elements to the whitelist
|
431 |
|
432 | ##### 0.8.14
|
433 | locking dependencies was a terrible, terrible idea
|
434 |
|
435 | ##### 0.8.13
|
436 | lock dependencies for stability
|
437 |
|
438 | add more support for svg css properties
|
439 |
|
440 | git ignore coverage report
|
441 |
|
442 | ##### 0.8.12
|
443 | fix require bugs
|
444 |
|
445 | ##### 0.8.11
|
446 | maxWarnings kill switch
|
447 |
|
448 | remove chalk from package.json as dependency
|
449 |
|
450 | various readme tweaks
|
451 |
|
452 | some minor cleanup / tweaking
|
453 |
|
454 | ##### 0.8.10
|
455 | fix bug with alphabetical check throwing false positives in certain edge cases, only if hard tabs on
|
456 |
|
457 | add more to the ignore regex for duplicates check
|
458 |
|
459 | ##### 0.8.9
|
460 | more duplicatesCheck fixes
|
461 |
|
462 | ##### 0.8.8
|
463 | resolve issue with duplicatesCheck throwing false positives when a selector is part of a list of selectors
|
464 |
|
465 | universal check should be less aggressive
|
466 |
|
467 | more valid properties added to the valid check
|
468 |
|
469 | turning back on alphabet and duplicates check by default
|
470 |
|
471 | turning off zIndex checks by default (they can be useful i think, but are definitely optional / potentially a pain on big projects )
|
472 |
|
473 | ##### 0.8.7
|
474 | resolve issue with duplicatesCheck throwing false positives on brackets
|
475 |
|
476 | alphabeticalCheck should be less aggressive
|
477 |
|
478 | ##### 0.8.6
|
479 | more bugs showing up for alphabetical and duplicates checks, gonna toggle them off by default until they are fully ironed out
|
480 |
|
481 | ##### 0.8.5
|
482 | merge in PR #31 (BEM Naming-Convention Option and expand list of valid css properties)
|
483 | stylint -v should return correct version now
|
484 | universal check rewrite - earlier version was throwing false positives when used for multiplication (in some cases)
|
485 |
|
486 | ##### 0.8.4
|
487 | readme update
|
488 |
|
489 | ##### 0.8.3
|
490 | fixes to duplicates and alphabetical sort, made more specific basically
|
491 |
|
492 | both were a little too general, will probably need more testing
|
493 |
|
494 | tweak mixed spaces and tabs ( look for ( ) instead of (\s\s) )
|
495 |
|
496 | ##### 0.8.2
|
497 | duplicates was not toggle-able - fixed https://github.com/rossPatton/stylint/issues/27
|
498 |
|
499 | duplicates needs some work - update README to reflect that
|
500 |
|
501 | ##### 0.8.1
|
502 | add npm badge and gitter
|
503 |
|
504 | README tweaks
|
505 |
|
506 | ##### 0.8.0
|
507 | checks:
|
508 | duplicates added, on by default, check for duplicate selectors or properties
|
509 |
|
510 | config:
|
511 | duplicates: bool, for toggling duplicates check
|
512 | globalDupe: bool, for controlling reach of duplicates check
|
513 |
|
514 | tests:
|
515 | unit tests for all the above added, as well as tests for 0.7.4
|
516 | code coverage should be around 89%
|
517 |
|
518 | ##### 0.7.4
|
519 | checks:
|
520 | alphabetical added, check that properties are in the correct order
|
521 |
|
522 | config:
|
523 | alphabetical: bool, for toggling alphabetical check
|
524 |
|
525 | ##### 0.7.3
|
526 | zIndexDuplicates added, off by default
|
527 |
|
528 | zIndexNormalize added, off by default
|
529 |
|
530 | ##### 0.7.2
|
531 | bug fixes
|
532 |
|
533 | code coverage
|
534 |
|
535 | reduced dependencies
|
536 |
|
537 | ##### 0.7.1
|
538 | numerous bug fixes
|
539 | valid property test improved, throws fewer false positives than before
|