@gitlab/eslint-plugin 24.0.0 → 24.1.0

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,14 @@
1
1
  # @gitlab/eslint-plugin
2
2
 
3
+ ## 24.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 830e78c: ESLint 10 compatibility
8
+
9
+ Rewrites the plugin internals to drop deprecated ESLint APIs, effectively making
10
+ it ESLint 10 compatible.
11
+
3
12
  ## 24.0.0
4
13
 
5
14
  ### Major Changes
@@ -75,7 +75,7 @@ module.exports = {
75
75
  const propName =
76
76
  prop.propName != null
77
77
  ? prop.propName
78
- : `[${context.getSourceCode().getText(prop.node.key)}]`;
78
+ : `[${context.sourceCode.getText(prop.node.key)}]`;
79
79
 
80
80
  context.report({
81
81
  node: prop.node,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/eslint-plugin",
3
- "version": "24.0.0",
3
+ "version": "24.1.0",
4
4
  "description": "GitLab package for our custom eslint rules",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -31,11 +31,11 @@
31
31
  "node": "^20.12.0 || ^22.0.0 || >=24.0.0"
32
32
  },
33
33
  "dependencies": {
34
- "@eslint/js": "^9.0.0",
34
+ "@eslint/js": "^10.0.1",
35
35
  "eslint-config-prettier": "^10.0.0",
36
36
  "eslint-plugin-import-x": "^4.17.1",
37
37
  "eslint-plugin-jest": "^29.0.0",
38
- "eslint-plugin-promise": "^7.0.0",
38
+ "eslint-plugin-promise": "^7.3.0",
39
39
  "eslint-plugin-tailwindcss": "^3.18.3",
40
40
  "eslint-plugin-unicorn": "^55.0.0",
41
41
  "eslint-plugin-vue": "^10.0.0",
@@ -45,9 +45,9 @@
45
45
  "vue-eslint-parser": "^10.3.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@typescript-eslint/eslint-plugin": "^8.0.0",
49
- "@typescript-eslint/parser": "^8.0.0",
50
- "eslint": "^9.0.0",
48
+ "@typescript-eslint/eslint-plugin": "^8.70.1",
49
+ "@typescript-eslint/parser": "^8.70.1",
50
+ "eslint": "^9.0.0 || ^10.0.0",
51
51
  "typescript": ">=4.8.4"
52
52
  },
53
53
  "peerDependenciesMeta": {
@@ -63,9 +63,9 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@changesets/cli": "^2.29.8",
66
- "@typescript-eslint/eslint-plugin": "^8.0.0",
67
- "@typescript-eslint/parser": "^8.0.0",
68
- "eslint": "^9.0.0",
66
+ "@typescript-eslint/eslint-plugin": "^8.70.1",
67
+ "@typescript-eslint/parser": "^8.70.1",
68
+ "eslint": "^10.11.0",
69
69
  "glob": "^7.2.0",
70
70
  "mocha": "^11.7.5",
71
71
  "prettier": "^2.6.1",