UNPKG

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