@rsbuild/plugin-eslint 0.7.0-beta.0 → 0.7.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -4
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import type { RsbuildPlugin } from '@rsbuild/core';
2
- import type { Options } from 'eslint-webpack-plugin';
3
- export type PluginEslintOptions = {
1
+ import { RsbuildPlugin } from '@rsbuild/core';
2
+ import { Options } from 'eslint-webpack-plugin';
3
+
4
+ type PluginEslintOptions = {
4
5
  /**
5
6
  * Whether to enable ESLint checking.
6
7
  * @default true
@@ -12,4 +13,6 @@ export type PluginEslintOptions = {
12
13
  */
13
14
  eslintPluginOptions?: Options;
14
15
  };
15
- export declare const pluginEslint: (options?: PluginEslintOptions) => RsbuildPlugin;
16
+ declare const pluginEslint: (options?: PluginEslintOptions) => RsbuildPlugin;
17
+
18
+ export { type PluginEslintOptions, pluginEslint };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-eslint",
3
- "version": "0.7.0-beta.0",
3
+ "version": "0.7.0-beta.2",
4
4
  "description": "ESLint plugin for Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -26,15 +26,15 @@
26
26
  "eslint": "^8.57.0",
27
27
  "eslint-webpack-plugin": "^4.1.0",
28
28
  "webpack": "^5.91.0",
29
- "@rsbuild/shared": "0.7.0-beta.0"
29
+ "@rsbuild/shared": "0.7.0-beta.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "typescript": "^5.4.2",
33
- "@rsbuild/core": "0.7.0-beta.0",
34
- "@scripts/test-helper": "0.7.0-beta.0"
33
+ "@rsbuild/core": "0.7.0-beta.2",
34
+ "@scripts/test-helper": "0.7.0-beta.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@rsbuild/core": "^0.7.0-beta.0"
37
+ "@rsbuild/core": "^0.7.0-beta.2"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public",