@open-xchange/linter-presets 1.2.14 → 1.2.16

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
+ ## `1.2.16` – 2025-Feb-28
4
+
5
+ - fix: (ESLint) `env.react`: typo in rule name
6
+
7
+ ## `1.2.15` – 2025-Feb-27
8
+
9
+ - chore: bump dependencies
10
+
3
11
  ## `1.2.14` – 2025-Feb-24
4
12
 
5
13
  - chore: remove better-typescript-lib
@@ -25,7 +25,7 @@ import { concatConfigs, createConfig, customRules, convertRuleWarningsToErrors }
25
25
  */
26
26
  export default function react(envOptions) {
27
27
  // recommended configuration of the main plugin
28
- const recommendedConfig = reactPlugin.configs["recommended-type-checked"];
28
+ const recommendedConfig = reactPlugin.configs["recommended-typescript"];
29
29
  return concatConfigs(
30
30
  // configure "react" plugin for all source files (JSX and TSX)
31
31
  createConfig(envOptions, {
@@ -50,6 +50,7 @@ export default function react(envOptions) {
50
50
  "@eslint-react/prefer-shorthand-boolean": "error",
51
51
  "@eslint-react/prefer-shorthand-fragment": "error",
52
52
  "@eslint-react/use-jsx-vars": "error",
53
+ "@eslint-react/dom/no-flush-sync": "error",
53
54
  "@eslint-react/dom/no-unknown-property": "error",
54
55
  "@eslint-react/hooks-extra/no-unnecessary-use-callback": "error",
55
56
  "@eslint-react/hooks-extra/no-unnecessary-use-memo": "error",
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://gitlab.open-xchange.com/fspd/commons/plugins/-/tree/main/packages/linter-presets"
7
+ "url": "https://gitlab.open-xchange.com/fspd/commons/plugins",
8
+ "directory": "packages/linter-presets"
8
9
  },
9
10
  "license": "MIT",
10
11
  "engines": {
@@ -26,16 +27,16 @@
26
27
  "@babel/eslint-parser": "^7.26.8",
27
28
  "@babel/plugin-proposal-decorators": "^7.25.9",
28
29
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
29
- "@eslint-react/eslint-plugin": "^1.26.2",
30
- "@eslint/compat": "^1.2.6",
31
- "@eslint/js": "^9.20.0",
30
+ "@eslint-react/eslint-plugin": "^1.28.0",
31
+ "@eslint/compat": "^1.2.7",
32
+ "@eslint/js": "^9.21.0",
32
33
  "@eslint/markdown": "^6.2.2",
33
- "@stylistic/eslint-plugin": "^4.0.1",
34
- "@stylistic/eslint-plugin-migrate": "^4.0.1",
34
+ "@stylistic/eslint-plugin": "^4.1.0",
35
+ "@stylistic/eslint-plugin-migrate": "^4.1.0",
35
36
  "@stylistic/stylelint-config": "^2.0.0",
36
37
  "@stylistic/stylelint-plugin": "^3.1.2",
37
38
  "@types/picomatch": "^3.0.2",
38
- "@vitest/eslint-plugin": "^1.1.31",
39
+ "@vitest/eslint-plugin": "^1.1.35",
39
40
  "confusing-browser-globals": "^1.0.11",
40
41
  "eslint-plugin-chai-expect": "^3.1.0",
41
42
  "eslint-plugin-codeceptjs": "^1.3.0",
@@ -47,7 +48,7 @@
47
48
  "eslint-plugin-jsdoc": "^50.6.3",
48
49
  "eslint-plugin-jsonc": "^2.19.1",
49
50
  "eslint-plugin-jsx-a11y": "^6.10.2",
50
- "eslint-plugin-license-header": "^0.7.0",
51
+ "eslint-plugin-license-header": "^0.8.0",
51
52
  "eslint-plugin-n": "^17.15.1",
52
53
  "eslint-plugin-promise": "^7.2.1",
53
54
  "eslint-plugin-react-hooks": "^5.1.0",
@@ -57,7 +58,7 @@
57
58
  "eslint-plugin-vue": "^9.32.0",
58
59
  "eslint-plugin-yml": "^1.17.0",
59
60
  "find-up": "^7.0.0",
60
- "globals": "^15.15.0",
61
+ "globals": "^16.0.0",
61
62
  "picomatch": "^4.0.2",
62
63
  "postcss-html": "^1.8.0",
63
64
  "stylelint-config-standard": "^37.0.0",
@@ -65,15 +66,15 @@
65
66
  "stylelint-config-standard-scss": "^14.0.0",
66
67
  "stylelint-config-standard-vue": "^1.0.0",
67
68
  "stylelint-plugin-license-header": "^1.0.3",
68
- "typescript-eslint": "^8.24.1",
69
+ "typescript-eslint": "^8.25.0",
69
70
  "vue-eslint-parser": "^9.4.3"
70
71
  },
71
72
  "devDependencies": {
72
- "@humanwhocodes/momoa": "^3.3.6",
73
73
  "@types/confusing-browser-globals": "^1.0.3",
74
74
  "@types/eslint-scope": "^3.7.7",
75
- "@typescript-eslint/utils": "^8.24.1",
76
- "eslint": "^9.20.1",
75
+ "@types/react": "^19.0.10",
76
+ "@typescript-eslint/utils": "^8.25.0",
77
+ "eslint": "^9.21.0",
77
78
  "jest": "^29.7.0",
78
79
  "jiti": "^2.4.2",
79
80
  "premove": "^4.0.0",