linter-bundle 6.1.0 → 6.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,7 +6,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v6.1.0...HEAD)
9
+ [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v6.2.1...HEAD)
10
+
11
+ ## [6.2.1] - 2024-01-25
12
+
13
+ ### Changed
14
+
15
+ - [stylelint] Change order of `(inset/margin/padding)-block` and `(inset/margin/padding)-inset`
16
+
17
+ [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v6.2.0...v6.2.1)
18
+
19
+ ## [6.2.0] - 2024-01-25
20
+
21
+ ### Changed
22
+
23
+ - [eslint/overrides-jsdoc] Updated `eslint-plugin-jsdoc` from `48.0.2` to `48.0.3`
24
+ - [stylelint] Remove `padding-inline`, `margin-inline`, `inset-inline`, `inset-inline-start` and `inset-inline-end` from [`property-disallowed-list`](https://stylelint.io/user-guide/rules/property-disallowed-list/) rule, as it is supported in all main browsers since at least 3 years
25
+ - [stylelint] Add `inset-block(-start/-end)`, `inset-inline(-start/-end)`, `padding-block(-start/-end)`, `padding-inline(-start/-end)` and `margin-block(-start/-end)`, `margin-inline(-start/-end)`
26
+ to [`order/properties-order`](https://github.com/hudochenkov/stylelint-order/blob/master/rules/properties-order/README.md) configuration
27
+
28
+ [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v6.1.0...v6.2.0)
10
29
 
11
30
  ## [6.1.0] - 2024-01-24
12
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linter-bundle",
3
- "version": "6.1.0",
3
+ "version": "6.2.1",
4
4
  "type": "module",
5
5
  "description": "Ready-to use bundle of linting tools, containing configurations for ESLint, stylelint and markdownlint.",
6
6
  "keywords": [
@@ -51,7 +51,7 @@
51
51
  "eslint-plugin-functional": "6.0.0",
52
52
  "eslint-plugin-import": "2.29.1",
53
53
  "eslint-plugin-jest": "27.6.3",
54
- "eslint-plugin-jsdoc": "48.0.2",
54
+ "eslint-plugin-jsdoc": "48.0.3",
55
55
  "eslint-plugin-jsx-a11y": "6.8.0",
56
56
  "eslint-plugin-n": "16.6.2",
57
57
  "eslint-plugin-promise": "6.1.1",
@@ -281,12 +281,7 @@ module.exports = (async () => {
281
281
  'property-allowed-list': null,
282
282
  'property-disallowed-list': [
283
283
  'font', // Shorthand property is to complex
284
- 'grid-gap', // @deprecated Use gap.
285
- 'padding-inline', // That's not widely supported and there is no fallback. @see https://caniuse.com/mdn-css_properties_padding-inline
286
- 'margin-inline', // That's not widely supported and there is no fallback. @see https://caniuse.com/mdn-css_properties_margin-inline
287
- 'inset-inline', // That's not widely supported and there is no fallback. @see https://caniuse.com/mdn-css_properties_inset-inline
288
- 'inset-inline-start', // That's not widely supported and there is no fallback. @see https://caniuse.com/mdn-css_properties_inset-inline-start
289
- 'inset-inline-end' // That's not widely supported and there is no fallback. @see https://caniuse.com/mdn-css_properties_inset-inline-end
284
+ 'grid-gap' // @deprecated Use gap.
290
285
  ],
291
286
  'property-no-unknown': null, // Covered by scss/property-no-unknown
292
287
  'property-no-vendor-prefix': true,
@@ -533,6 +528,13 @@ module.exports = (async () => {
533
528
  'bottom',
534
529
  'left',
535
530
 
531
+ 'inset-block',
532
+ 'inset-block-start',
533
+ 'inset-block-end',
534
+ 'inset-inline',
535
+ 'inset-inline-start',
536
+ 'inset-inline-end',
537
+
536
538
  'box-sizing'
537
539
  ]
538
540
  },
@@ -630,6 +632,11 @@ module.exports = (async () => {
630
632
  'margin-right',
631
633
  'margin-bottom',
632
634
  'margin-left',
635
+
636
+ 'margin-block',
637
+ 'margin-block-start',
638
+ 'margin-block-end',
639
+ 'margin-inline',
633
640
  'margin-inline-start',
634
641
  'margin-inline-end'
635
642
  ]
@@ -644,6 +651,11 @@ module.exports = (async () => {
644
651
  'padding-right',
645
652
  'padding-bottom',
646
653
  'padding-left',
654
+
655
+ 'padding-block',
656
+ 'padding-block-start',
657
+ 'padding-block-end',
658
+ 'padding-inline',
647
659
  'padding-inline-start',
648
660
  'padding-inline-end'
649
661
  ]
@@ -1075,8 +1087,8 @@ module.exports = (async () => {
1075
1087
  'padding-top',
1076
1088
  'padding-bottom',
1077
1089
 
1078
- 'left', // "inset-inline" is not supported by any browser, expect Firefox. @see https://caniuse.com/mdn-css_properties_inset-inline
1079
- 'right', // "inset-inline-end" is not supported by any browser, expect Firefox. @see https://caniuse.com/mdn-css_properties_inset-inline
1090
+ 'left',
1091
+ 'right',
1080
1092
 
1081
1093
  'text-align', // @todo Should only be disabled for "right", since numbers should be always aligned right, for any direction.
1082
1094