UNPKG

13.4 kBMarkdownView Raw
1# Change Log
2
3All notable changes to this project will be documented in this file.
4
5# 3.22.0 (2020-10-23)
6
7
8### Features
9
10* avoid checking not used args ([967af5a](https://github.com/SUI-Components/sui/commit/967af5a1500623614c6eba2318c7b65fc2e9687b))
11
12
13
14# 3.21.0 (2020-10-23)
15
16
17### Features
18
19* add preval support and avoid messing with function args ([b5c7147](https://github.com/SUI-Components/sui/commit/b5c714781fb94b91813c4494b9494942c7d5d19f))
20
21
22
23# 3.20.0 (2020-10-23)
24
25
26### Bug Fixes
27
28* make sui-lint work correctly with studios ([9aba618](https://github.com/SUI-Components/sui/commit/9aba6183badd77f9f4cebc57da551b812ee4f2d4))
29
30
31### Features
32
33* allow using new jsx from React ([75425bd](https://github.com/SUI-Components/sui/commit/75425bdb1e5274683788a1fb6b38601dd3ede3e9))
34* be compatible with code that still hasnt migrated over importing React ([42cce16](https://github.com/SUI-Components/sui/commit/42cce166b244184cd6da8e3997302f6c5cc06491))
35* ignore rest siblings ([0d23fa8](https://github.com/SUI-Components/sui/commit/0d23fa8408d1e28d428e97ab4d5679e3eff0a830))
36* new release with jsx changes and upgrading dependencies ([5387fec](https://github.com/SUI-Components/sui/commit/5387fec63be6443af719f528f11426cd92cb9448))
37* upgrade dependencies ([6d955b7](https://github.com/SUI-Components/sui/commit/6d955b7aab24a25387d0b9830d1cdde0ff9ac164))
38* upgrade lint dependencies ([2e7faae](https://github.com/SUI-Components/sui/commit/2e7faaeb017597e89338b2b70c0287f94994ea25))
39* use prettier@1 for now ([f95e820](https://github.com/SUI-Components/sui/commit/f95e820be98bafd18774da4ce31950bc7f270423))
40
41
42
43# 3.17.0 (2020-09-14)
44
45
46### Features
47
48* add no-return-await rule warning ([f536995](https://github.com/SUI-Components/sui/commit/f5369959b433aea63678d3140c99a6444ad11a5d))
49
50
51
52# 3.16.0 (2020-07-23)
53
54
55### Features
56
57* avoid executing postinstall on CI ([c5225b3](https://github.com/SUI-Components/sui/commit/c5225b3795cfc97ecd1a6b73706aaf6e05c00a47))
58
59
60
61# 3.15.0 (2020-05-06)
62
63
64### Features
65
66* add warnings for a11y linter rules ([96e65ab](https://github.com/SUI-Components/sui/commit/96e65abb52c790370ac33c179dc9cf5ff99fa923))
67
68
69
70# 3.14.0 (2019-11-19)
71
72
73### Bug Fixes
74
75* escape hatch for errors on script modifying package.json ([791239a](https://github.com/SUI-Components/sui/commit/791239abff02ef0619b976fbed481b0f38e414ac))
76
77
78
79# 3.13.0 (2019-11-18)
80
81
82### Features
83
84* add explanation for every rule and move to es5 trailing commas ([e848aff](https://github.com/SUI-Components/sui/commit/e848aff645bdaa09b4c5d3e8ba02e90f5bdaecc2))
85* add new postinstall script to add needed linter config ([7d41f52](https://github.com/SUI-Components/sui/commit/7d41f5208f7c634dbea0e585b9cdb4e86da61dc5))
86* rollback trailing commas ([75a6601](https://github.com/SUI-Components/sui/commit/75a6601b4bb55a39b13f3ed3c193f72a5177a1ff))
87* unify linter rules for sass and js ([10e7cd8](https://github.com/SUI-Components/sui/commit/10e7cd83a0781fea11afe1dd7a17b3fd4c112663))
88* upgrade dependencies ([c686f23](https://github.com/SUI-Components/sui/commit/c686f23c29a3c9c9afb97288684f0413fea5b24a))
89
90
91
92# 3.12.0 (2019-11-13)
93
94
95### Bug Fixes
96
97* add single quote as well ([bb451bc](https://github.com/SUI-Components/sui/commit/bb451bcc429126f873521da8a4bc06a953667184))
98
99
100### Features
101
102* upgrade dependencies and add prettier-stylelint ([a62904e](https://github.com/SUI-Components/sui/commit/a62904e44b894528d57da2ee2c2988990c8f4849))
103
104
105
106# 3.11.0 (2019-10-01)
107
108
109### Bug Fixes
110
111* keep compatibility with usage of prototype builtins ([7281834](https://github.com/SUI-Components/sui/commit/728183452e8de80304301c938257a3fdce0660f2))
112
113
114### Features
115
116* add fix arg for sui-lint sass ([2444d5f](https://github.com/SUI-Components/sui/commit/2444d5f1dfbcf1ec447f44cbbccbdbc9a9f4e3f8))
117
118
119
120# 3.10.0 (2019-10-01)
121
122
123### Features
124
125* bump dependencies ([c2a6169](https://github.com/SUI-Components/sui/commit/c2a61697ad4862049b9c35ae29f3d5043cb6db50))
126* put jsx handler names to warning for now ([6eeaa1d](https://github.com/SUI-Components/sui/commit/6eeaa1d5d401b97e7f9761e1c96b0aeb66291fb6))
127
128
129
130# 3.9.0 (2019-08-29)
131
132
133### Bug Fixes
134
135* apply external flags ([81a5c82](https://github.com/SUI-Components/sui/commit/81a5c82d25b3f447dc5077ca2960b2e683ff7151))
136
137
138
139# 3.8.0 (2019-08-29)
140
141
142### Features
143
144* add new flag to change the default pattern ([e4c8b7c](https://github.com/SUI-Components/sui/commit/e4c8b7cf1053b00dfe2f60e3204403da94b11351))
145
146
147
148# 3.7.0 (2019-08-02)
149
150
151### Features
152
153* equal prettier and stylelint rule ([ea279a3](https://github.com/SUI-Components/sui/commit/ea279a3082afb5d68e6e079a1fd7447ccf8ce740))
154
155
156
157# 3.6.0 (2019-08-02)
158
159
160### Bug Fixes
161
162* add double quotes to patters ([788fccc](https://github.com/SUI-Components/sui/commit/788fccca0cf57007053fe0053d43467c535356f6))
163
164
165### Features
166
167* bump Version ([4deb536](https://github.com/SUI-Components/sui/commit/4deb5364af05fdc8148dda08a3b02b9f7d268ca0))
168
169
170
171# 3.5.0 (2019-07-31)
172
173
174### Bug Fixes
175
176* fix lint several scss files ([dbcb9d8](https://github.com/SUI-Components/sui/commit/dbcb9d81a89417ac0fa15bac40f0c66561ad8115))
177
178
179
180# 3.4.0 (2019-07-30)
181
182
183### Bug Fixes
184
185* remove deprecation notice ([6f3ea5e](https://github.com/SUI-Components/sui/commit/6f3ea5e16003780a3f2516a241092bf2d7d4c598))
186
187
188### Features
189
190* upgrade dependencies ([65557d8](https://github.com/SUI-Components/sui/commit/65557d801f347ad1a98fddce2f444c2109b2457d))
191
192
193
194# 3.3.0 (2019-07-30)
195
196
197### Bug Fixes
198
199* no-unused-expressions set to OFF ([ac42fd7](https://github.com/SUI-Components/sui/commit/ac42fd7a081f7ede58519c4edaec5b7c9f4c1618))
200
201
202
203# 3.2.0 (2019-07-30)
204
205
206### Features
207
208* Upgrade @s-ui/lint ([c08537d](https://github.com/SUI-Components/sui/commit/c08537d5e236e4f09732593baa3b4246c9905bcb))
209
210
211
212# 3.1.0 (2019-07-29)
213
214
215### Features
216
217* add support for chaining optional ([14ecd1f](https://github.com/SUI-Components/sui/commit/14ecd1fb0b53ad1d9e7a0d8cc3733a61a57fd729))
218
219
220
221# 3.0.0 (2019-07-10)
222
223
224### Features
225
226* upgrade eslint and use stylelint for scss ([d9c8e18](https://github.com/SUI-Components/sui/commit/d9c8e183cd93ca0138d24b83e2e326a296f0be36))
227
228
229### BREAKING CHANGES
230
231* Stop supporting sasslint, changes needed on the package and plugins of editor
232
233
234
235# 2.25.0 (2019-07-10)
236
237
238### Bug Fixes
239
240* fix colission between stylelint and prettier ([44eba00](https://github.com/SUI-Components/sui/commit/44eba0057f8fd58782ac9342d08ee731f612aaf3))
241
242
243### Features
244
245* upgrade eslint-plugin-promise version ([ca19aa0](https://github.com/SUI-Components/sui/commit/ca19aa069b46596b3f569435cb6ed7d34bc6a164))
246
247
248
249# 2.24.0 (2019-04-17)
250
251
252### Bug Fixes
253
254* fix security problem ([c07b2b5](https://github.com/SUI-Components/sui/commit/c07b2b54f72b45476a844dbc829645e3037324bf))
255
256
257
258# 2.23.0 (2019-04-02)
259
260
261### Bug Fixes
262
263* release new version ([7a9df8a](https://github.com/SUI-Components/sui/commit/7a9df8a004b564ee4ce7cf359b889816fcaf152a))
264
265
266
267# 2.22.0 (2019-03-20)
268
269
270### Features
271
272* add 'react-hooks' plugin to eslintrc.js ([8300379](https://github.com/SUI-Components/sui/commit/83003793ab61c7c25e1c66c8c3a0703da2ebdf7c))
273* add eslint-plugin-react-hooks package and rules ([2adf851](https://github.com/SUI-Components/sui/commit/2adf8519d9567a6b677f1703752e49886eb501e3))
274
275
276
277# 2.21.0 (2019-03-06)
278
279
280### Features
281
282* exclude meadia queries from mixins-before-declarations sass lint rule ([1c2e2df](https://github.com/SUI-Components/sui/commit/1c2e2df8a236449c4501cd2abac44509d94f247f))
283
284
285
286# 2.20.0 (2018-11-08)
287
288
289### Features
290
291* improved writing ([bb1fc7b](https://github.com/SUI-Components/sui/commit/bb1fc7b8aeec24c39569c324f158bc90a6d20f00))
292
293
294
295# 2.19.0 (2018-09-12)
296
297
298### Bug Fixes
299
300* remove caret ([fadb289](https://github.com/SUI-Components/sui/commit/fadb289cb68af31f1d5a47f5df9bf880659c6084))
301
302
303### Features
304
305* throw error if only in tests and use a const for rule values ([8113e8e](https://github.com/SUI-Components/sui/commit/8113e8e61acfbe7a3980e54cdc076355093699a0))
306
307
308
309# 2.17.0 (2018-08-30)
310
311
312### Features
313
314* make sass linter great again ([ce7b6b3](https://github.com/SUI-Components/sui/commit/ce7b6b36da9336821f4b5d91f8ab679d45a9c0f1))
315
316
317
318# 2.16.0 (2018-06-18)
319
320
321### Bug Fixes
322
323* upgrade babel-eslint version and fix problems with decorators ([7623e37](https://github.com/SUI-Components/sui/commit/7623e37ffc8bb121271ad712dce3a246d516a147))
324
325
326
327# 2.15.0 (2018-05-30)
328
329
330### Bug Fixes
331
332* add missing dep ([62296b0](https://github.com/SUI-Components/sui/commit/62296b03223832c3d0772f1430e15c40f59afda1))
333
334
335
336# 2.14.0 (2018-05-30)
337
338
339### Bug Fixes
340
341* remove rules conflicting with prettier ([07997dc](https://github.com/SUI-Components/sui/commit/07997dc1476eb72d372929d4e6fdbbd683948cd9))
342
343
344### Features
345
346* change rules to comply with prettier ([61dda2f](https://github.com/SUI-Components/sui/commit/61dda2fe7682acdd2e3f6d3c3061e31f6f83313b))
347* change rules to comply with prettier ([0f3c014](https://github.com/SUI-Components/sui/commit/0f3c014f0b34f8425bf7b0a72293209a0dbdcf85))
348* remove useless format-js command ([2b7ac68](https://github.com/SUI-Components/sui/commit/2b7ac68c0598452c8b96e8edde5de3ed30785a96))
349
350
351### Performance Improvements
352
353* remove unused dep prettier ([17db9be](https://github.com/SUI-Components/sui/commit/17db9beeac5a81d4b1e4d461d0cc8cc190beb546))
354
355
356
357# 2.13.0 (2018-04-18)
358
359
360### Bug Fixes
361
362* ignore comments on .gitignore files to avoid putting them in the .gitignore file ([0c1a26e](https://github.com/SUI-Components/sui/commit/0c1a26efd5fe138d9761ae79e6d98121dc6df2b0))
363
364
365
366# 2.12.0 (2018-04-12)
367
368
369### Bug Fixes
370
371* add missing dependency ([0d65356](https://github.com/SUI-Components/sui/commit/0d65356b05e557d434af2cb06476a1210ff01be3))
372
373
374
375# 2.11.0 (2018-04-09)
376
377
378### Bug Fixes
379
380* make auto stage of changes an option: --add-fixes ([6e63189](https://github.com/SUI-Components/sui/commit/6e63189132c5fcac3d3799488ec49333f9b96580))
381
382
383### Features
384
385* add --staged option for scss files ([25403c8](https://github.com/SUI-Components/sui/commit/25403c89e133baf5ec9bd4d6a608fde8b132bbde))
386* add --staged option to lint only staged files ([e4bcb3c](https://github.com/SUI-Components/sui/commit/e4bcb3c691b893452b0916237a5496912cd3e442))
387* exlude git ignored files in sass linting ([ccb3703](https://github.com/SUI-Components/sui/commit/ccb3703af69fb09dcaa3eeffacdfa0eba5468a81))
388* ignore by default .gitignore file patterns ([052b4de](https://github.com/SUI-Components/sui/commit/052b4de5d7662fa58e678cbeaaf75a26da7baf26))
389* stage modifications for staged files ([cf02bda](https://github.com/SUI-Components/sui/commit/cf02bda018d15f6634af254a26acc0fcdc677959))
390* sui-lint format-js command ([4c40ad7](https://github.com/SUI-Components/sui/commit/4c40ad793502219265095f673a5678ae3173d74e))
391
392
393
394# 2.10.0 (2018-04-05)
395
396
397### Bug Fixes
398
399* update critical dependencies of eslint ([329daa2](https://github.com/SUI-Components/sui/commit/329daa287029c66ca5fa1be3f1e5ce10f800dace))
400
401
402
403# 2.9.0 (2018-02-22)
404
405
406### Bug Fixes
407
408* tell type of error for comma-dangle ([aa610b0](https://github.com/SUI-Components/sui/commit/aa610b0f8ea181f3a5d80207ebd0c5cebdba82db))
409
410
411
412# 2.8.0 (2018-02-22)
413
414
415### Features
416
417* update dependencies and add new rules ([ffcb650](https://github.com/SUI-Components/sui/commit/ffcb6509bb5f95af0788ed806571dd6f3ed79eea))
418
419
420
421# 2.7.0 (2018-01-03)
422
423
424### Features
425
426* warning for non used props instead error ([4865503](https://github.com/SUI-Components/sui/commit/48655031f7aa7f6ea00739568ea0a5fdf5042d91))
427
428
429
430# 2.6.0 (2018-01-03)
431
432
433### Features
434
435* allow shortCircuit and ternaries for non unused expressions ([31879e4](https://github.com/SUI-Components/sui/commit/31879e48c7cf45cfdbc6132a3d8cfc1ecfc7a5e5))
436
437
438
439# 2.5.0 (2018-01-03)
440
441
442### Features
443
444* upgrade dependencies and support unused expression on chai ([8cfc795](https://github.com/SUI-Components/sui/commit/8cfc7952d318709be88cde1eb4092b0c2a1b8bdf)), closes [#175](https://github.com/SUI-Components/sui/issues/175)
445
446
447
448# 2.4.0 (2017-09-21)
449
450
451### Features
452
453* Move package from [@schibstedspain](https://github.com/schibstedspain) scope to [@s-ui](https://github.com/s-ui) org ([ed8aea2](https://github.com/SUI-Components/sui/commit/ed8aea26c86e13c01ddbce7128842dd32bad2b3c))
454
455
456
457# 2.3.0 (2017-07-04)
458
459
460### Bug Fixes
461
462* add public folder to eslint ignore path ([1a903bf](https://github.com/SUI-Components/sui/commit/1a903bf48c63b64188bf34142b91976c8b5904bb))
463* improve speed changing ignore patterns of sass-lint ([2dcb871](https://github.com/SUI-Components/sui/commit/2dcb8712c4a9132946c10158169e3f11e2c463fb))
464
465
466
467# 2.1.0 (2017-06-21)
468
469
470### Bug Fixes
471
472* remove unused scripts ([ecbbb62](https://github.com/SUI-Components/sui/commit/ecbbb620f4f7363c7c4b906129dd5887c73999d3))
473
474
475
476# 2.0.0 (2017-06-16)
477
478
479### Bug Fixes
480
481* add build script to be compatible with sui-mono releases ([020e211](https://github.com/SUI-Components/sui/commit/020e211da5c0db4205479b13ab6e100a5577aab2))
482* fix implementation of build script ([9b00cd6](https://github.com/SUI-Components/sui/commit/9b00cd67420a9424ea8826a0463f40db01a450c8))
483* improve resolution of eslint bin ([22f8073](https://github.com/SUI-Components/sui/commit/22f807326e81dcc78c54c7d308498ecd0bcb04aa))
484
485
486### Features
487
488* first commit of linting-rules migration ([1829091](https://github.com/SUI-Components/sui/commit/18290916b1585824738676b240c11b285798b609))
489* rename package so @schibstedspain/sui-lint with consistent CLI ([650b16a](https://github.com/SUI-Components/sui/commit/650b16a13198f323e5935449ca3bda7147a22ea1))
490
491
492### BREAKING CHANGES
493
494* CLI has changed and not compatible to previous version
495
496
497