@open-xchange/linter-presets 1.20.0 → 1.21.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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## `1.21.1` – 2026-Apr-09
4
+
5
+ - added: (ESLint) rules `@eslint-react/jsx-no-leaked-dollar` and `@eslint-react/jsx-no-leaked-semicolon`
6
+ - chore: bump dependencies
7
+
8
+ ## `1.21.0` – 2026-Apr-02
9
+
10
+ - changed: (ESLint) update `@eslint-react/eslint-plugin` to v4.2
11
+ - chore: bump dependencies
12
+
3
13
  ## `1.20.0` – 2026-Mar-31
4
14
 
5
15
  - removed: shared compiler options for `tsconfig.json` files (moved to package `@open-xchange/tsconfig`)
@@ -24,7 +34,7 @@
24
34
 
25
35
  ## `1.18.6` – 2026-Mar-19
26
36
 
27
- - changed: (ESLint) update `@eslint-react` to v3.0.0
37
+ - changed: (ESLint) update `@eslint-react/eslint-plugin` to v3.0.0
28
38
 
29
39
  ## `1.18.5` – 2026-Mar-19
30
40
 
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/eslint/env/react.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,+BAAoC;AAK7E;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc;IAErD;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAE/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAC/B;AAID;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,UAAU,EAAE,eAAe,GAAG,SAAS,CA6DpE"}
1
+ {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/eslint/env/react.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,+BAAoC;AAK7E;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc;IAErD;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAE/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAC/B;AAID;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,UAAU,EAAE,eAAe,GAAG,SAAS,CAyDpE"}
@@ -46,17 +46,13 @@ export default function react(envOptions) {
46
46
  settings,
47
47
  }, {
48
48
  // custom overrides
49
- '@eslint-react/jsx-dollar': 'error',
50
- '@eslint-react/jsx-shorthand-boolean': 'error',
51
- '@eslint-react/jsx-shorthand-fragment': 'error',
49
+ '@eslint-react/dom-no-unknown-property': 'error',
50
+ '@eslint-react/jsx-no-leaked-dollar': 'error',
51
+ '@eslint-react/jsx-no-useless-fragment': ['error', { allowEmptyFragment: true }],
52
+ '@eslint-react/naming-convention-context-name': 'error',
52
53
  '@eslint-react/no-missing-component-display-name': 'error',
53
54
  '@eslint-react/no-missing-context-display-name': 'error',
54
- '@eslint-react/no-useless-fragment': ['error', { allowEmptyFragment: true }],
55
55
  '@eslint-react/prefer-namespace-import': 'error',
56
- // dom
57
- '@eslint-react/dom/no-unknown-property': 'error',
58
- // naming-convention
59
- '@eslint-react/naming-convention/context-name': 'error',
60
56
  }),
61
57
  // 'react-hooks' plugin and recommended rules, raise all recommended rules to 'error' level
62
58
  createConfig('env.react.react-hooks', envOptions, convertRuleWarningsToErrors(reactHooksPlugin.configs.flat.recommended), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "1.20.0",
3
+ "version": "1.21.1",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,28 +26,28 @@
26
26
  "@babel/eslint-parser": "^7.28.6",
27
27
  "@babel/plugin-proposal-decorators": "^7.29.0",
28
28
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
29
- "@eslint-react/eslint-plugin": "^3.0.0",
30
- "@eslint/compat": "^2.0.3",
31
- "@eslint/config-helpers": "^0.5.3",
29
+ "@eslint-react/eslint-plugin": "^4.2.3",
30
+ "@eslint/compat": "^2.0.5",
31
+ "@eslint/config-helpers": "^0.5.5",
32
32
  "@eslint/js": "^9.39.4",
33
- "@eslint/markdown": "^7.5.1",
33
+ "@eslint/markdown": "^8.0.1",
34
34
  "@stylistic/eslint-plugin": "^5.10.0",
35
35
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
36
- "@stylistic/stylelint-config": "^4.0.0",
37
- "@stylistic/stylelint-plugin": "^5.0.1",
38
- "@types/picomatch": "^4.0.2",
39
- "@vitest/eslint-plugin": "^1.6.13",
36
+ "@stylistic/stylelint-config": "^5.0.0",
37
+ "@stylistic/stylelint-plugin": "^5.1.0",
38
+ "@types/picomatch": "^4.0.3",
39
+ "@vitest/eslint-plugin": "^1.6.15",
40
40
  "@vue/eslint-config-typescript": "^14.7.0",
41
41
  "confusing-browser-globals": "^1.0.11",
42
42
  "empathic": "^2.0.0",
43
- "eslint-plugin-chai-expect": "^4.0.0",
43
+ "eslint-plugin-chai-expect": "^4.1.0",
44
44
  "eslint-plugin-codeceptjs": "^1.3.0",
45
45
  "eslint-plugin-depend": "^1.5.0",
46
46
  "eslint-plugin-eslint-plugin": "^7.3.2",
47
47
  "eslint-plugin-jest": "^29.15.1",
48
48
  "eslint-plugin-jest-dom": "^5.5.0",
49
49
  "eslint-plugin-jest-extended": "^3.0.1",
50
- "eslint-plugin-jsdoc": "^62.8.1",
50
+ "eslint-plugin-jsdoc": "^62.9.0",
51
51
  "eslint-plugin-jsonc": "^3.1.2",
52
52
  "eslint-plugin-jsx-a11y": "^6.10.2",
53
53
  "eslint-plugin-license-header": "^0.9.0",
@@ -68,17 +68,17 @@
68
68
  "stylelint-config-standard-scss": "^17.0.0",
69
69
  "stylelint-config-standard-vue": "^1.0.0",
70
70
  "stylelint-plugin-license-header": "^1.0.3",
71
- "typescript-eslint": "^8.57.2"
71
+ "typescript-eslint": "^8.58.1"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@jest/globals": "^30.3.0",
75
75
  "@types/confusing-browser-globals": "^1.0.3",
76
76
  "@types/react": "^19.2.14",
77
- "@typescript-eslint/utils": "^8.57.2",
77
+ "@typescript-eslint/utils": "^8.58.1",
78
78
  "eslint": "^9.39.4",
79
79
  "jest": "^30.3.0",
80
- "stylelint": "^17.5.0",
81
- "vue": "^3.5.31",
80
+ "stylelint": "^17.6.0",
81
+ "vue": "^3.5.32",
82
82
  "@open-xchange/tsconfig": "^0.0.1"
83
83
  },
84
84
  "peerDependencies": {
@@ -114,9 +114,9 @@
114
114
  }
115
115
  },
116
116
  "scripts": {
117
- "build": "pnpm clean && tspc --project src/tsconfig.json",
117
+ "build": "pnpm clean && tspc --project src",
118
118
  "clean": "premove dist",
119
- "lint": "tsc && tsc --project src/tsconfig.json --noEmit && eslint .",
119
+ "lint": "tsc && tsc --project src --noEmit && eslint .",
120
120
  "test": "cd test && eslint . && stylelint \"**/*.{css,scss}\"",
121
121
  "verify": "pnpm build && pnpm lint && pnpm test"
122
122
  }