@open-xchange/linter-presets 1.2.10 → 1.2.12

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.12` – 2025-Feb-20
4
+
5
+ - chore: bump dependencies
6
+
7
+ ## `1.2.11` – 2025-Feb-19
8
+
9
+ - changed: (ESLint) remove `Storage` and `Transformer` from banned globals
10
+
3
11
  ## `1.2.10` – 2025-Feb-14
4
12
 
5
13
  - fix: (ESLint) missing `env/tsconfig.*` in package
@@ -28,8 +28,6 @@ const AMBIGUOUS_BROWSER_TYPES = [
28
28
  "Point",
29
29
  "Size",
30
30
  "Range",
31
- "Storage",
32
- "Transformer",
33
31
  ];
34
32
  /**
35
33
  * Properties of global objects to be banned in all browser modules.
@@ -70,7 +68,7 @@ for (const name of CONFUSING_BROWSER_GLOBALS) {
70
68
  }
71
69
  // Create the configuration list for rule "no-restricted-globals".
72
70
  const RESTRICTED_GLOBALS = AMBIGUOUS_BROWSER_TYPES.map(name => {
73
- const message = `Import custom type '${name}', or use 'window.${name}' for disambiguation.`;
71
+ const message = `Import custom type '${name}', or use 'globalThis.${name}' for disambiguation.`;
74
72
  return { name, message };
75
73
  });
76
74
  // functions ==================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "test": "cd test && eslint ."
23
23
  },
24
24
  "dependencies": {
25
- "@babel/core": "^7.26.8",
25
+ "@babel/core": "^7.26.9",
26
26
  "@babel/eslint-parser": "^7.26.8",
27
27
  "@babel/plugin-proposal-decorators": "^7.25.9",
28
28
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
@@ -30,8 +30,8 @@
30
30
  "@eslint/compat": "^1.2.6",
31
31
  "@eslint/js": "^9.20.0",
32
32
  "@eslint/markdown": "^6.2.2",
33
- "@stylistic/eslint-plugin": "^3.1.0",
34
- "@stylistic/eslint-plugin-migrate": "^3.1.0",
33
+ "@stylistic/eslint-plugin": "^4.0.1",
34
+ "@stylistic/eslint-plugin-migrate": "^4.0.1",
35
35
  "@stylistic/stylelint-config": "^2.0.0",
36
36
  "@stylistic/stylelint-plugin": "^3.1.2",
37
37
  "@types/picomatch": "^3.0.2",
@@ -47,7 +47,7 @@
47
47
  "eslint-plugin-jsdoc": "^50.6.3",
48
48
  "eslint-plugin-jsonc": "^2.19.1",
49
49
  "eslint-plugin-jsx-a11y": "^6.10.2",
50
- "eslint-plugin-license-header": "^0.6.1",
50
+ "eslint-plugin-license-header": "^0.7.0",
51
51
  "eslint-plugin-n": "^17.15.1",
52
52
  "eslint-plugin-promise": "^7.2.1",
53
53
  "eslint-plugin-react-hooks": "^5.1.0",
@@ -55,7 +55,7 @@
55
55
  "eslint-plugin-react-refresh": "^0.4.19",
56
56
  "eslint-plugin-testing-library": "^7.1.1",
57
57
  "eslint-plugin-vue": "^9.32.0",
58
- "eslint-plugin-yml": "^1.16.0",
58
+ "eslint-plugin-yml": "^1.17.0",
59
59
  "find-up": "^7.0.0",
60
60
  "globals": "^15.15.0",
61
61
  "picomatch": "^4.0.2",
@@ -65,14 +65,14 @@
65
65
  "stylelint-config-standard-scss": "^14.0.0",
66
66
  "stylelint-config-standard-vue": "^1.0.0",
67
67
  "stylelint-plugin-license-header": "^1.0.3",
68
- "typescript-eslint": "^8.24.0",
68
+ "typescript-eslint": "^8.24.1",
69
69
  "vue-eslint-parser": "^9.4.3"
70
70
  },
71
71
  "devDependencies": {
72
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.0",
75
+ "@typescript-eslint/utils": "^8.24.1",
76
76
  "better-typescript-lib": "^2.10.1",
77
77
  "eslint": "^9.20.1",
78
78
  "jest": "^29.7.0",