linter-bundle 6.1.0 → 6.2.0
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 +12 -1
- package/package.json +2 -2
- package/stylelint/index.cjs +22 -10
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,18 @@ 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.
|
|
9
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v6.2.0...HEAD)
|
|
10
|
+
|
|
11
|
+
## [6.2.0] - 2024-01-25
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- [eslint/overrides-jsdoc] Updated `eslint-plugin-jsdoc` from `48.0.2` to `48.0.3`
|
|
16
|
+
- [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
|
|
17
|
+
- [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)`
|
|
18
|
+
to [`order/properties-order`](https://github.com/hudochenkov/stylelint-order/blob/master/rules/properties-order/README.md) configuration
|
|
19
|
+
|
|
20
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v6.1.0...v6.2.0)
|
|
10
21
|
|
|
11
22
|
## [6.1.0] - 2024-01-24
|
|
12
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linter-bundle",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
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.
|
|
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",
|
package/stylelint/index.cjs
CHANGED
|
@@ -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'
|
|
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-inline',
|
|
532
|
+
'inset-inline-start',
|
|
533
|
+
'inset-inline-end',
|
|
534
|
+
'inset-block',
|
|
535
|
+
'inset-block-start',
|
|
536
|
+
'inset-block-end',
|
|
537
|
+
|
|
536
538
|
'box-sizing'
|
|
537
539
|
]
|
|
538
540
|
},
|
|
@@ -630,8 +632,13 @@ module.exports = (async () => {
|
|
|
630
632
|
'margin-right',
|
|
631
633
|
'margin-bottom',
|
|
632
634
|
'margin-left',
|
|
635
|
+
|
|
636
|
+
'margin-inline',
|
|
633
637
|
'margin-inline-start',
|
|
634
|
-
'margin-inline-end'
|
|
638
|
+
'margin-inline-end',
|
|
639
|
+
'margin-block',
|
|
640
|
+
'margin-block-start',
|
|
641
|
+
'margin-block-end'
|
|
635
642
|
]
|
|
636
643
|
},
|
|
637
644
|
{
|
|
@@ -644,8 +651,13 @@ module.exports = (async () => {
|
|
|
644
651
|
'padding-right',
|
|
645
652
|
'padding-bottom',
|
|
646
653
|
'padding-left',
|
|
654
|
+
|
|
655
|
+
'padding-inline',
|
|
647
656
|
'padding-inline-start',
|
|
648
|
-
'padding-inline-end'
|
|
657
|
+
'padding-inline-end',
|
|
658
|
+
'padding-block',
|
|
659
|
+
'padding-block-start',
|
|
660
|
+
'padding-block-end'
|
|
649
661
|
]
|
|
650
662
|
},
|
|
651
663
|
{
|
|
@@ -1075,8 +1087,8 @@ module.exports = (async () => {
|
|
|
1075
1087
|
'padding-top',
|
|
1076
1088
|
'padding-bottom',
|
|
1077
1089
|
|
|
1078
|
-
'left',
|
|
1079
|
-
'right',
|
|
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
|
|