linter-bundle 2.28.0 → 2.29.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 CHANGED
@@ -8,7 +8,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
 
9
9
  [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.28.0...HEAD)
10
10
 
11
- ## [2.28.0] - 2023-04-21
11
+ ## [2.29.0] - 2023-05-05
12
+
13
+ ### Fixed
14
+
15
+ - [stylelint] Fix `liberty/use-logical-spec` and `order/properties-order` issue with the `inset` property
16
+
17
+ ### Changed
18
+
19
+ - [eslint] Updated `@typescript-eslint/utils` from `5.59.0` to `5.59.2`
20
+ - [eslint] Updated `eslint-plugin-jsdoc` from `43.0.7` to `43.2.0`
21
+ - [markdownlint] Updated `markdownlint-cli` from `0.33.0` to `0.34.0`
22
+ - [stylelint] Updated `stylelint` from `15.5.0` to `15.6.1`
23
+ - [stylelint] Updated `stylelint-scss` from `4.6.0` to `5.0.0`
24
+
25
+ - [eslint/overrides-jsdoc] Make use of new rule [`jsdoc/no-blank-blocks`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-blocks.md)
26
+ - [stylelint] Reactivate [color-function-notation](https://github.com/stylelint/stylelint/blob/main/lib/rules/color-function-notation/README.md) with option `'modern'` and `ignore: ['with-var-inside']`
27
+
28
+ [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.28.0...v2.29.0)
29
+
30
+ ## [2.28.0] - 2023-04-22
12
31
 
13
32
  ### Changed
14
33
 
@@ -38,6 +38,7 @@ module.exports = {
38
38
  'jsdoc/match-name': 'off',
39
39
  'jsdoc/multiline-blocks': ['error', { noSingleLineBlocks: true, singleLineTags: ['lends', 'type', 'typedef'], noFinalLineText: false }],
40
40
  'jsdoc/no-bad-blocks': 'error',
41
+ 'jsdoc/no-blank-blocks': 'error',
41
42
  'jsdoc/no-defaults': 'off',
42
43
  'jsdoc/no-missing-syntax': 'off',
43
44
  'jsdoc/no-multi-asterisks': ['error', { preventAtEnd: false }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linter-bundle",
3
- "version": "2.28.0",
3
+ "version": "2.29.0",
4
4
  "description": "Ready-to use bundle of linting tools, containing configurations for ESLint, stylelint and markdownlint.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -40,9 +40,9 @@
40
40
  "check-outdated": "npx --yes -- check-outdated --ignore-pre-releases"
41
41
  },
42
42
  "dependencies": {
43
- "@typescript-eslint/eslint-plugin": "5.59.0",
44
- "@typescript-eslint/parser": "5.59.0",
45
- "@typescript-eslint/utils": "5.59.0",
43
+ "@typescript-eslint/eslint-plugin": "5.59.2",
44
+ "@typescript-eslint/parser": "5.59.2",
45
+ "@typescript-eslint/utils": "5.59.2",
46
46
  "eslint": "8.39.0",
47
47
  "eslint-import-resolver-typescript": "3.5.5",
48
48
  "eslint-import-resolver-webpack": "0.13.2",
@@ -50,20 +50,20 @@
50
50
  "eslint-plugin-functional": "5.0.8",
51
51
  "eslint-plugin-import": "2.27.5",
52
52
  "eslint-plugin-jest": "27.2.1",
53
- "eslint-plugin-jsdoc": "43.0.7",
53
+ "eslint-plugin-jsdoc": "43.2.0",
54
54
  "eslint-plugin-jsx-a11y": "6.7.1",
55
55
  "eslint-plugin-n": "15.7.0",
56
56
  "eslint-plugin-promise": "6.1.1",
57
57
  "eslint-plugin-react": "7.32.2",
58
58
  "eslint-plugin-react-hooks": "4.6.0",
59
59
  "eslint-plugin-unicorn": "46.0.0",
60
- "markdownlint-cli": "0.33.0",
60
+ "markdownlint-cli": "0.34.0",
61
61
  "micromatch": "4.0.5",
62
62
  "postcss-scss": "4.0.6",
63
- "stylelint": "15.5.0",
63
+ "stylelint": "15.6.1",
64
64
  "stylelint-declaration-block-no-ignored-properties": "2.7.0",
65
65
  "stylelint-order": "6.0.3",
66
- "stylelint-scss": "4.6.0",
66
+ "stylelint-scss": "5.0.0",
67
67
  "stylelint-selector-no-empty": "1.0.9",
68
68
  "stylelint-use-logical-spec": "5.0.0"
69
69
  },
@@ -74,7 +74,7 @@
74
74
  "devDependencies": {
75
75
  "@types/eslint": "8.37.0",
76
76
  "@types/micromatch": "4.0.2",
77
- "@types/node": "18.15.13",
77
+ "@types/node": "20.0.0",
78
78
  "stylelint-find-new-rules": "4.1.0",
79
79
  "typescript": "5.0.4"
80
80
  }
@@ -90,7 +90,11 @@ module.exports = {
90
90
  'font-face': ['font-family', 'font-style', 'font-weight', 'src']
91
91
  }],
92
92
  'block-no-empty': true,
93
- 'color-function-notation': null, // @todo Doesn't work with variables like: hsl(var(--xyz)). Create issue. Later change that to 'modern'.
93
+ 'color-function-notation': [
94
+ 'modern', {
95
+ ignore: ['with-var-inside']
96
+ }
97
+ ],
94
98
  'color-hex-alpha': null, // @todo Not widely supported yet. Activate in 2024.
95
99
  'color-hex-length': 'short',
96
100
  'color-named': 'never',
@@ -439,6 +443,7 @@ module.exports = {
439
443
  emptyLineBefore: 'always',
440
444
  noEmptyLineBetween: true,
441
445
  properties: [
446
+ 'inset',
442
447
  'top',
443
448
  'right',
444
449
  'bottom',
@@ -951,6 +956,7 @@ module.exports = {
951
956
  'liberty/use-logical-spec': ['always', { except: [
952
957
  'float',
953
958
 
959
+ 'inset',
954
960
  'top',
955
961
  'bottom',
956
962