@open-xchange/linter-presets 0.8.4 → 0.8.6

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
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## `0.8.6` – 2024-Oct-05
4
+
5
+ - chore: bump dependencies
6
+
7
+ ## `0.8.5` – 2024-Sep-27
8
+
9
+ - chore: bump dependencies
10
+
3
11
  ## `0.8.4` – 2024-Sep-20
4
12
 
5
13
  - chore: bump dependencies
@@ -19,7 +19,7 @@ export default function stylistic(options) {
19
19
  const { indent, semi, quotes, dangle } = options;
20
20
  return [
21
21
  // globally disable all deprecated stylistic core rules
22
- stylisticPlugin.configs["disable-legacy"], // outdated typings in plugin
22
+ stylisticPlugin.configs["disable-legacy"],
23
23
  // "@stylistic" plugin
24
24
  {
25
25
  // do not lint markdown files
@@ -36,9 +36,11 @@ export default function react(envOptions) {
36
36
  },
37
37
  },
38
38
  // register rule implementations and language settings
39
+ // TODO: remove type cast after fix: https://github.com/import-js/eslint-plugin-import/issues/3080
39
40
  ...reactPlugin.configs.flat.recommended,
40
41
  rules: {
41
42
  // recommended rules
43
+ // TODO: remove type cast after fix: https://github.com/import-js/eslint-plugin-import/issues/3080
42
44
  ...reactPlugin.configs.flat.recommended.rules,
43
45
  ...reactPlugin.configs.flat["jsx-runtime"].rules,
44
46
  // custom overrides
@@ -1,4 +1,4 @@
1
- import vitestPlugin from "eslint-plugin-vitest";
1
+ import vitestPlugin from "@vitest/eslint-plugin";
2
2
  import { concatConfigs, createConfig, customRules } from "../shared/env-utils.js";
3
3
  import { createUnitTestPluginConfigs } from "../shared/unittest.js";
4
4
  // functions ==================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "0.8.4",
3
+ "version": "0.8.6",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,63 +21,63 @@
21
21
  "test": "cd test && eslint ."
22
22
  },
23
23
  "dependencies": {
24
- "@babel/core": "7.25.2",
25
- "@babel/eslint-parser": "7.25.1",
26
- "@babel/plugin-proposal-decorators": "7.24.7",
24
+ "@babel/core": "7.25.7",
25
+ "@babel/eslint-parser": "7.25.7",
26
+ "@babel/plugin-proposal-decorators": "7.25.7",
27
27
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
28
28
  "@eslint/compat": "1.1.1",
29
- "@eslint/js": "9.10.0",
30
- "@eslint/markdown": "6.1.0",
31
- "@stylistic/eslint-plugin": "2.3.0",
32
- "@stylistic/eslint-plugin-migrate": "2.3.0",
29
+ "@eslint/js": "9.11.1",
30
+ "@eslint/markdown": "6.1.1",
31
+ "@stylistic/eslint-plugin": "2.8.0",
32
+ "@stylistic/eslint-plugin-migrate": "2.8.0",
33
33
  "@stylistic/stylelint-config": "2.0.0",
34
- "@stylistic/stylelint-plugin": "3.0.1",
34
+ "@stylistic/stylelint-plugin": "3.1.0",
35
+ "@vitest/eslint-plugin": "1.1.5",
35
36
  "confusing-browser-globals": "1.0.11",
36
37
  "eslint-import-resolver-typescript": "3.6.3",
37
38
  "eslint-plugin-chai-expect": "3.1.0",
38
39
  "eslint-plugin-codeceptjs": "1.3.0",
39
40
  "eslint-plugin-eslint-plugin": "6.2.0",
40
- "eslint-plugin-import": "2.30.0",
41
+ "eslint-plugin-import": "2.31.0",
41
42
  "eslint-plugin-jest": "28.8.3",
42
43
  "eslint-plugin-jest-dom": "5.4.0",
43
- "eslint-plugin-jsdoc": "50.2.4",
44
+ "eslint-plugin-jsdoc": "50.3.1",
44
45
  "eslint-plugin-jsonc": "2.16.0",
45
46
  "eslint-plugin-jsx-a11y": "6.10.0",
46
47
  "eslint-plugin-jsx-expressions": "1.3.2",
47
48
  "eslint-plugin-license-header": "0.6.1",
48
49
  "eslint-plugin-n": "17.10.3",
49
50
  "eslint-plugin-promise": "7.1.0",
50
- "eslint-plugin-react": "7.36.1",
51
+ "eslint-plugin-react": "7.37.1",
51
52
  "eslint-plugin-react-hooks": "4.6.2",
52
53
  "eslint-plugin-react-hooks-static-deps": "1.0.7",
53
54
  "eslint-plugin-react-refresh": "0.4.12",
54
55
  "eslint-plugin-testing-library": "6.3.0",
55
- "eslint-plugin-vitest": "0.5.4",
56
56
  "eslint-plugin-yml": "1.14.0",
57
57
  "find-up": "7.0.0",
58
- "globals": "15.9.0",
58
+ "globals": "15.10.0",
59
59
  "picomatch": "4.0.2",
60
60
  "stylelint-config-standard": "36.0.1",
61
61
  "stylelint-config-standard-less": "3.0.1",
62
62
  "stylelint-config-standard-scss": "13.1.0",
63
63
  "stylelint-plugin-license-header": "1.0.3",
64
- "typescript-eslint": "8.6.0"
64
+ "typescript-eslint": "8.8.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@eslint/core": "0.6.0",
68
67
  "@types/confusing-browser-globals": "1.0.3",
69
68
  "@types/eslint__js": "8.42.3",
70
69
  "@types/picomatch": "3.0.1",
71
- "@typescript-eslint/utils": "8.6.0",
72
- "eslint": "9.10.0",
70
+ "@typescript-eslint/utils": "8.8.0",
71
+ "eslint": "9.11.1",
73
72
  "jest": "29.7.0",
74
73
  "rimraf": "6.0.1",
75
74
  "stylelint": "16.9.0",
76
75
  "typescript": "5.6.2"
77
76
  },
78
77
  "peerDependencies": {
79
- "eslint": "^9.8",
78
+ "eslint": "^9.10",
80
79
  "jest": "^29.7",
80
+ "postcss": "^8.4",
81
81
  "stylelint": "^16.8",
82
82
  "typescript": "^5.5",
83
83
  "vitest": "^2.0"
@@ -89,6 +89,9 @@
89
89
  "jest": {
90
90
  "optional": true
91
91
  },
92
+ "postcss": {
93
+ "optional": true
94
+ },
92
95
  "stylelint": {
93
96
  "optional": true
94
97
  },