UNPKG

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