eslint-plugin-react-web-api 2.0.0-next.159 → 2.0.0-next.160
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/dist/index.d.ts +1 -3
- package/dist/index.js +3 -14
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,7 @@ import * as _eslint_react_kit0 from "@eslint-react/kit";
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
configs: {
|
|
6
6
|
recommended: {
|
|
7
|
-
plugins: {
|
|
8
|
-
"react-web-api": _eslint_react_kit0.CompatiblePlugin;
|
|
9
|
-
};
|
|
7
|
+
plugins: {};
|
|
10
8
|
name?: string;
|
|
11
9
|
rules?: Record<string, _eslint_react_kit0.RuleConfig>;
|
|
12
10
|
settings?: _eslint_react_kit0.SettingsConfig;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_ESLINT_REACT_SETTINGS, getDocsUrl } from "@eslint-react/shared";
|
|
1
|
+
import { DEFAULT_ESLINT_REACT_SETTINGS, getConfigAdapters, getDocsUrl } from "@eslint-react/shared";
|
|
2
2
|
import * as AST from "@eslint-react/ast";
|
|
3
3
|
import * as ER from "@eslint-react/core";
|
|
4
4
|
import { or, unit } from "@eslint-react/eff";
|
|
@@ -36,7 +36,7 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region package.json
|
|
38
38
|
var name = "eslint-plugin-react-web-api";
|
|
39
|
-
var version = "2.0.0-next.
|
|
39
|
+
var version = "2.0.0-next.160";
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/utils/create-rule.ts
|
|
@@ -661,18 +661,7 @@ const plugin = {
|
|
|
661
661
|
|
|
662
662
|
//#endregion
|
|
663
663
|
//#region src/index.ts
|
|
664
|
-
|
|
665
|
-
return {
|
|
666
|
-
...config,
|
|
667
|
-
plugins: { "react-web-api": plugin }
|
|
668
|
-
};
|
|
669
|
-
}
|
|
670
|
-
function toLegacyConfig({ rules: rules$1 }) {
|
|
671
|
-
return {
|
|
672
|
-
plugins: ["react-web-api"],
|
|
673
|
-
rules: rules$1
|
|
674
|
-
};
|
|
675
|
-
}
|
|
664
|
+
const { toFlatConfig, toLegacyConfig } = getConfigAdapters("react-web-api", plugin);
|
|
676
665
|
var src_default = {
|
|
677
666
|
...plugin,
|
|
678
667
|
configs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-web-api",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.160",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@typescript-eslint/utils": "^8.41.0",
|
|
41
41
|
"string-ts": "^2.2.1",
|
|
42
42
|
"ts-pattern": "^5.8.0",
|
|
43
|
-
"@eslint-react/ast": "2.0.0-next.
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"@eslint-react/
|
|
48
|
-
"@eslint-react/
|
|
43
|
+
"@eslint-react/ast": "2.0.0-next.160",
|
|
44
|
+
"@eslint-react/core": "2.0.0-next.160",
|
|
45
|
+
"@eslint-react/eff": "2.0.0-next.160",
|
|
46
|
+
"@eslint-react/kit": "2.0.0-next.160",
|
|
47
|
+
"@eslint-react/var": "2.0.0-next.160",
|
|
48
|
+
"@eslint-react/shared": "2.0.0-next.160"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/react": "^19.1.12",
|