@open-xchange/linter-presets 0.8.6 → 0.8.7

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## `0.8.7` – 2024-Oct-11
4
+
5
+ - chore: bump dependencies
6
+
3
7
  ## `0.8.6` – 2024-Oct-05
4
8
 
5
9
  - chore: bump dependencies
@@ -36,6 +36,7 @@ export default function jest(envOptions) {
36
36
  "jest/prefer-equality-matcher": "error",
37
37
  "jest/prefer-expect-resolves": "error",
38
38
  "jest/prefer-hooks-on-top": "error",
39
+ "jest/prefer-jest-mocked": "error",
39
40
  "jest/prefer-lowercase-title": "error",
40
41
  "jest/prefer-mock-promise-shorthand": "error",
41
42
  "jest/prefer-spy-on": "error",
@@ -34,6 +34,7 @@ export default function node(envOptions) {
34
34
  // custom rules
35
35
  customRules(envOptions, {
36
36
  "no-console": "off",
37
+ "n/no-missing-import": ["error", { ignoreTypeImport: true }],
37
38
  "n/no-unsupported-features/node-builtins": ["error", { allowExperimental: true }],
38
39
  "n/prefer-node-protocol": "error",
39
40
  }));
@@ -36,11 +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
+ // TODO: remove type cast after fix: https://github.com/jsx-eslint/eslint-plugin-react/issues/3838
40
40
  ...reactPlugin.configs.flat.recommended,
41
41
  rules: {
42
42
  // recommended rules
43
- // TODO: remove type cast after fix: https://github.com/import-js/eslint-plugin-import/issues/3080
43
+ // TODO: remove type cast after fix: https://github.com/jsx-eslint/eslint-plugin-react/issues/3838
44
44
  ...reactPlugin.configs.flat.recommended.rules,
45
45
  ...reactPlugin.configs.flat["jsx-runtime"].rules,
46
46
  // custom overrides
@@ -57,6 +57,7 @@ export default function vitest(envOptions) {
57
57
  "vitest/prefer-to-be": "error",
58
58
  "vitest/prefer-to-contain": "error",
59
59
  "vitest/prefer-to-have-length": "error",
60
+ "vitest/prefer-vi-mocked": "error",
60
61
  "vitest/require-top-level-describe": "error",
61
62
  }));
62
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,18 +21,18 @@
21
21
  "test": "cd test && eslint ."
22
22
  },
23
23
  "dependencies": {
24
- "@babel/core": "7.25.7",
25
- "@babel/eslint-parser": "7.25.7",
24
+ "@babel/core": "7.25.8",
25
+ "@babel/eslint-parser": "7.25.8",
26
26
  "@babel/plugin-proposal-decorators": "7.25.7",
27
27
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
28
- "@eslint/compat": "1.1.1",
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",
28
+ "@eslint/compat": "1.2.0",
29
+ "@eslint/js": "9.12.0",
30
+ "@eslint/markdown": "6.2.0",
31
+ "@stylistic/eslint-plugin": "2.9.0",
32
+ "@stylistic/eslint-plugin-migrate": "2.9.0",
33
33
  "@stylistic/stylelint-config": "2.0.0",
34
- "@stylistic/stylelint-plugin": "3.1.0",
35
- "@vitest/eslint-plugin": "1.1.5",
34
+ "@stylistic/stylelint-plugin": "3.1.1",
35
+ "@vitest/eslint-plugin": "1.1.7",
36
36
  "confusing-browser-globals": "1.0.11",
37
37
  "eslint-import-resolver-typescript": "3.6.3",
38
38
  "eslint-plugin-chai-expect": "3.1.0",
@@ -46,7 +46,7 @@
46
46
  "eslint-plugin-jsx-a11y": "6.10.0",
47
47
  "eslint-plugin-jsx-expressions": "1.3.2",
48
48
  "eslint-plugin-license-header": "0.6.1",
49
- "eslint-plugin-n": "17.10.3",
49
+ "eslint-plugin-n": "17.11.1",
50
50
  "eslint-plugin-promise": "7.1.0",
51
51
  "eslint-plugin-react": "7.37.1",
52
52
  "eslint-plugin-react-hooks": "4.6.2",
@@ -55,24 +55,24 @@
55
55
  "eslint-plugin-testing-library": "6.3.0",
56
56
  "eslint-plugin-yml": "1.14.0",
57
57
  "find-up": "7.0.0",
58
- "globals": "15.10.0",
58
+ "globals": "15.11.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.8.0"
64
+ "typescript-eslint": "8.8.1"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/confusing-browser-globals": "1.0.3",
68
68
  "@types/eslint__js": "8.42.3",
69
69
  "@types/picomatch": "3.0.1",
70
- "@typescript-eslint/utils": "8.8.0",
71
- "eslint": "9.11.1",
70
+ "@typescript-eslint/utils": "8.8.1",
71
+ "eslint": "9.12.0",
72
72
  "jest": "29.7.0",
73
73
  "rimraf": "6.0.1",
74
74
  "stylelint": "16.9.0",
75
- "typescript": "5.6.2"
75
+ "typescript": "5.6.3"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "eslint": "^9.10",