@eslint-react/shared 1.27.1-next.7 → 1.28.0-beta.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/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1593,7 +1593,9 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
|
|
|
1593
1593
|
*/
|
|
1594
1594
|
readonly strict: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1595
1595
|
/**
|
|
1596
|
-
*
|
|
1596
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
1597
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
1598
|
+
* @default `false`
|
|
1597
1599
|
*/
|
|
1598
1600
|
readonly strictImportCheck: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1599
1601
|
/**
|
|
@@ -1723,7 +1725,9 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1723
1725
|
*/
|
|
1724
1726
|
readonly strict: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1725
1727
|
/**
|
|
1726
|
-
*
|
|
1728
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
1729
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
1730
|
+
* @default `false`
|
|
1727
1731
|
*/
|
|
1728
1732
|
readonly strictImportCheck: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1729
1733
|
/**
|
|
@@ -1850,7 +1854,9 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1850
1854
|
*/
|
|
1851
1855
|
readonly strict: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1852
1856
|
/**
|
|
1853
|
-
*
|
|
1857
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
1858
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
1859
|
+
* @default `false`
|
|
1854
1860
|
*/
|
|
1855
1861
|
readonly strictImportCheck: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1856
1862
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1593,7 +1593,9 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
|
|
|
1593
1593
|
*/
|
|
1594
1594
|
readonly strict: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1595
1595
|
/**
|
|
1596
|
-
*
|
|
1596
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
1597
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
1598
|
+
* @default `false`
|
|
1597
1599
|
*/
|
|
1598
1600
|
readonly strictImportCheck: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1599
1601
|
/**
|
|
@@ -1723,7 +1725,9 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1723
1725
|
*/
|
|
1724
1726
|
readonly strict: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1725
1727
|
/**
|
|
1726
|
-
*
|
|
1728
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
1729
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
1730
|
+
* @default `false`
|
|
1727
1731
|
*/
|
|
1728
1732
|
readonly strictImportCheck: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1729
1733
|
/**
|
|
@@ -1850,7 +1854,9 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1850
1854
|
*/
|
|
1851
1855
|
readonly strict: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1852
1856
|
/**
|
|
1853
|
-
*
|
|
1857
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
1858
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
1859
|
+
* @default `false`
|
|
1854
1860
|
*/
|
|
1855
1861
|
readonly strictImportCheck: OptionalSchema<BooleanSchema<undefined>, false>;
|
|
1856
1862
|
/**
|
package/dist/index.js
CHANGED
|
@@ -521,7 +521,9 @@ var ESLintReactSettingsSchema = object({
|
|
|
521
521
|
*/
|
|
522
522
|
strict: optional(boolean(), false),
|
|
523
523
|
/**
|
|
524
|
-
*
|
|
524
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
525
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
526
|
+
* @default `false`
|
|
525
527
|
*/
|
|
526
528
|
strictImportCheck: optional(boolean(), false),
|
|
527
529
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -513,7 +513,9 @@ var ESLintReactSettingsSchema = object({
|
|
|
513
513
|
*/
|
|
514
514
|
strict: optional(boolean(), false),
|
|
515
515
|
/**
|
|
516
|
-
*
|
|
516
|
+
* Check both the sharp and the import to determine if a API is from React.
|
|
517
|
+
* @description This can prevent false positives when using a irrelevant third-party library that has similar APIs to React.
|
|
518
|
+
* @default `false`
|
|
517
519
|
*/
|
|
518
520
|
strictImportCheck: optional(boolean(), false),
|
|
519
521
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0-beta.0",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/utils": "^8.
|
|
38
|
+
"@typescript-eslint/utils": "^8.25.0",
|
|
39
39
|
"picomatch": "^4.0.2",
|
|
40
40
|
"ts-pattern": "^5.6.2",
|
|
41
|
-
"@eslint-react/eff": "1.
|
|
41
|
+
"@eslint-react/eff": "1.28.0-beta.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/picomatch": "^3.0.2",
|