UNPKG

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