@open-xchange/linter-presets 1.16.0 → 1.16.1

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
+ ## `1.16.1` – 2026-Jan-29
4
+
5
+ - chore: bump dependencies
6
+
3
7
  ## `1.16.0` – 2026-Jan-22
4
8
 
5
9
  - added: (ESLint) new option "stateHooks" for `env.react`
@@ -12,7 +12,7 @@ import { SRC_GLOB, convertRuleWarningsToErrors } from "../shared/env-utils.js";
12
12
  */
13
13
  export default function regexp() {
14
14
  // recommended configuration of the plugin
15
- const recommendedConfig = regexpPlugin.configs["flat/recommended"];
15
+ const recommendedConfig = regexpPlugin.configs.recommended;
16
16
  // register rule implementations and recommended rules
17
17
  return {
18
18
  files: SRC_GLOB,
@@ -10,7 +10,7 @@ export interface EnvReactOptions extends EnvBaseOptions {
10
10
  */
11
11
  effectHooks?: readonly string[];
12
12
  /**
13
- * Configuration for the rule "@eslint-react/no-direct-set-state-in-use-effect".
13
+ * Configuration for the rule "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect".
14
14
  *
15
15
  * Additional hooks that will be treated as state hooks, like "useState".
16
16
  */
@@ -22,7 +22,7 @@ function react(options: EnvReactOptions): ConfigArg;
22
22
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
23
23
  | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
24
24
  | `effectHooks` | `string[]` | `[]` | Additional hooks that will be treated as effect hooks, like "useEffect". Used by the rule [`react-hooks/exhaustive-deps`](https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps). |
25
- | `stateHooks` | `string[]` | `[]` | Additional hooks that will be treated as state hooks, like "useState". Used by the rule [`@react-eslint/no-direct-set-state-in-use-effect`](https://www.eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect). |
25
+ | `stateHooks` | `string[]` | `[]` | Additional hooks that will be treated as state hooks, like "useState". Used by the rule [`@eslint-react/hooks-extra/no-direct-set-state-in-use-effect`](https://www.eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect). |
26
26
 
27
27
  ## Example
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,15 +34,15 @@
34
34
  "@babel/eslint-parser": "^7.28.6",
35
35
  "@babel/plugin-proposal-decorators": "^7.28.6",
36
36
  "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
37
- "@eslint-react/eslint-plugin": "^2.7.2",
37
+ "@eslint-react/eslint-plugin": "^2.8.0",
38
38
  "@eslint/compat": "^2.0.1",
39
39
  "@eslint/config-helpers": "^0.5.1",
40
40
  "@eslint/js": "^9.39.2",
41
41
  "@eslint/markdown": "^7.5.1",
42
- "@stylistic/eslint-plugin": "^5.7.0",
42
+ "@stylistic/eslint-plugin": "^5.7.1",
43
43
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
44
44
  "@stylistic/stylelint-config": "^4.0.0",
45
- "@stylistic/stylelint-plugin": "^5.0.0",
45
+ "@stylistic/stylelint-plugin": "^5.0.1",
46
46
  "@types/picomatch": "^4.0.2",
47
47
  "@vitest/eslint-plugin": "^1.6.6",
48
48
  "@vue/eslint-config-typescript": "^14.6.0",
@@ -55,7 +55,7 @@
55
55
  "eslint-plugin-jest": "^29.12.1",
56
56
  "eslint-plugin-jest-dom": "^5.5.0",
57
57
  "eslint-plugin-jest-extended": "^3.0.1",
58
- "eslint-plugin-jsdoc": "^62.3.0",
58
+ "eslint-plugin-jsdoc": "^62.4.1",
59
59
  "eslint-plugin-jsonc": "^2.21.0",
60
60
  "eslint-plugin-jsx-a11y": "^6.10.2",
61
61
  "eslint-plugin-license-header": "^0.8.0",
@@ -64,11 +64,11 @@
64
64
  "eslint-plugin-promise": "^7.2.1",
65
65
  "eslint-plugin-react-hooks": "^7.0.1",
66
66
  "eslint-plugin-react-refresh": "^0.4.26",
67
- "eslint-plugin-regexp": "^2.10.0",
67
+ "eslint-plugin-regexp": "^3.0.0",
68
68
  "eslint-plugin-testing-library": "^7.15.4",
69
69
  "eslint-plugin-vue": "^10.7.0",
70
70
  "eslint-plugin-yml": "^3.0.0",
71
- "globals": "^17.0.0",
71
+ "globals": "^17.2.0",
72
72
  "picomatch": "^4.0.3",
73
73
  "postcss-html": "^1.8.1",
74
74
  "stylelint-config-standard": "^40.0.0",
@@ -76,14 +76,14 @@
76
76
  "stylelint-config-standard-scss": "^17.0.0",
77
77
  "stylelint-config-standard-vue": "^1.0.0",
78
78
  "stylelint-plugin-license-header": "^1.0.3",
79
- "typescript-eslint": "^8.53.1"
79
+ "typescript-eslint": "^8.54.0"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@types/confusing-browser-globals": "^1.0.3",
83
83
  "@types/eslint-scope": "^8.4.0",
84
- "@types/node": "^25.0.10",
85
- "@types/react": "^19.2.9",
86
- "@typescript-eslint/utils": "^8.53.1",
84
+ "@types/node": "^25.1.0",
85
+ "@types/react": "^19.2.10",
86
+ "@typescript-eslint/utils": "^8.54.0",
87
87
  "eslint": "^9.39.2",
88
88
  "jest": "^30.2.0",
89
89
  "jiti": "^2.6.1",