@rsbuild/plugin-eslint 1.2.1 → 1.3.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/README.md CHANGED
@@ -14,7 +14,7 @@ The plugin has integrated [eslint-rspack-plugin](https://www.npmjs.com/package/e
14
14
  <a href="https://npmcharts.com/compare/@rsbuild/plugin-eslint?minimal=true"><img src="https://img.shields.io/npm/dm/@rsbuild/plugin-eslint.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
15
15
  </p>
16
16
 
17
- <img width="1496" alt="Screenshot 2025-02-16 at 18 56 32" src="https://github.com/user-attachments/assets/ee4b1915-92ce-4032-834d-b2321f02f1d2" />
17
+ <img width="1496" src="https://github.com/user-attachments/assets/ee4b1915-92ce-4032-834d-b2321f02f1d2" />
18
18
 
19
19
  ## Usage
20
20
 
@@ -129,7 +129,7 @@ const defaultOptions = {
129
129
 
130
130
  The `eslintPluginOptions` object will be shallowly merged with the default configuration object.
131
131
 
132
- - For example, enable ESLint v9's flat config:
132
+ - For example, enable ESLint's flat config:
133
133
 
134
134
  ```ts
135
135
  pluginEslint({
package/dist/index.cjs CHANGED
@@ -22,7 +22,7 @@ var __webpack_require__ = {};
22
22
  })();
23
23
  (()=>{
24
24
  __webpack_require__.r = (exports1)=>{
25
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
25
+ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
26
26
  value: 'Module'
27
27
  });
28
28
  Object.defineProperty(exports1, '__esModule', {
@@ -81,10 +81,10 @@ const pluginEslint = (options = {})=>({
81
81
  });
82
82
  exports.PLUGIN_ESLINT_NAME = __webpack_exports__.PLUGIN_ESLINT_NAME;
83
83
  exports.pluginEslint = __webpack_exports__.pluginEslint;
84
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
84
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
85
85
  "PLUGIN_ESLINT_NAME",
86
86
  "pluginEslint"
87
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
87
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
88
88
  Object.defineProperty(exports, '__esModule', {
89
89
  value: true
90
90
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-eslint",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "repository": "https://github.com/rstackjs/rsbuild-plugin-eslint",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,30 +33,30 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "eslint-rspack-plugin": "^4.3.0"
36
+ "eslint-rspack-plugin": "^4.4.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@biomejs/biome": "^1.9.4",
40
- "@playwright/test": "^1.57.0",
41
- "@rsbuild/core": "^1.6.10",
42
- "@rslib/core": "^0.18.2",
43
- "@types/node": "^24.10.1",
44
- "eslint": "^9.39.1",
40
+ "@playwright/test": "^1.58.1",
41
+ "@rsbuild/core": "^1.7.2",
42
+ "@rslib/core": "^0.19.4",
43
+ "@types/node": "^24.10.9",
44
+ "eslint": "^10.0.2",
45
45
  "nano-staged": "^0.9.0",
46
- "playwright": "^1.57.0",
46
+ "playwright": "^1.58.1",
47
47
  "simple-git-hooks": "^2.13.1",
48
48
  "typescript": "^5.9.3"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@rsbuild/core": "^1.0.0 || ^2.0.0-0",
52
- "eslint": "^8.0.0 || ^9.0.0"
52
+ "eslint": "^8.0.0 || ^9.0.0 || ^10.0.0"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@rsbuild/core": {
56
56
  "optional": true
57
57
  }
58
58
  },
59
- "packageManager": "pnpm@10.24.0",
59
+ "packageManager": "pnpm@10.28.2",
60
60
  "publishConfig": {
61
61
  "access": "public",
62
62
  "registry": "https://registry.npmjs.org/"