eslint-plugin-use-agnostic 1.7.9 → 1.8.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.
@@ -1590,9 +1590,13 @@
1590
1590
  "key": "DIRECTIVE21#USE_SERVER_LOGICS#USE_CLIENT_CONTEXTS"
1591
1591
  },
1592
1592
  "use agnostic conditions": {
1593
- "value": "(Special) Agnostic Conditions Components are able to safely render on the server, guaranteeing that only their `ComponentForServer` will be effectively involved in Prime Server Logics Modules.",
1593
+ "value": "(Special) Agnostic Conditions Modules can only be imported by Components Modules, given how the consuming of their conditioned mechanism is restricted to React Components.",
1594
1594
  "key": "DIRECTIVE21#USE_SERVER_LOGICS#USE_AGNOSTIC_CONDITIONS"
1595
1595
  },
1596
+ "use agnostic strategies": {
1597
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
1598
+ "key": "DIRECTIVE21#USE_SERVER_LOGICS#USE_AGNOSTIC_STRATEGIES"
1599
+ },
1596
1600
  "kinds": {
1597
1601
  "value": "Prime Server Logics",
1598
1602
  "key": "DIRECTIVE21#USE_SERVER_LOGICS#KINDS"
@@ -1660,7 +1664,7 @@
1660
1664
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_SERVER_COMPONENTS"
1661
1665
  },
1662
1666
  "use client components": {
1663
- "value": "Prime Client Logics, like any Client Components, are OK to be composed with Prime Client Logics as long as the Prime Client Logics Module, by convention, does not export React components.",
1667
+ "value": "Lineal Client Components, like any Client Components, are OK to be composed with Prime Client Logics as long as the Prime Client Logics Module, by convention, does not export React components.",
1664
1668
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_CLIENT_COMPONENTS"
1665
1669
  },
1666
1670
  "use agnostic components": {
@@ -1668,7 +1672,7 @@
1668
1672
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_AGNOSTIC_COMPONENTS"
1669
1673
  },
1670
1674
  "use server functions": {
1671
- "value": "(Special) Server Functions can technically be attached to any Client Components that are being tinkered with within Client Logics Modules.",
1675
+ "value": "(Special) Server Functions can technically be attached to any Client Components being tinkered with within Client Logics Modules.",
1672
1676
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_SERVER_FUNCTIONS"
1673
1677
  },
1674
1678
  "use client contexts": {
@@ -1676,9 +1680,13 @@
1676
1680
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_CLIENT_CONTEXTS"
1677
1681
  },
1678
1682
  "use agnostic conditions": {
1679
- "value": "(Special) Agnostic Conditions Components are able to safely render on the client, guaranteeing that only their `ComponentForClient` will be effectively involved in Prime Client Logics Modules.",
1683
+ "value": "(Special) Agnostic Conditions Modules can only be imported by Components Modules, given how the consuming of their conditioned mechanism is restricted to React Components.",
1680
1684
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_AGNOSTIC_CONDITIONS"
1681
1685
  },
1686
+ "use agnostic strategies": {
1687
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
1688
+ "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_AGNOSTIC_STRATEGIES"
1689
+ },
1682
1690
  "kinds": {
1683
1691
  "value": "Prime Client Logics",
1684
1692
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#KINDS"
@@ -1762,9 +1770,13 @@
1762
1770
  "key": "DIRECTIVE21#USE_AGNOSTIC_LOGICS#USE_CLIENT_CONTEXTS"
1763
1771
  },
1764
1772
  "use agnostic conditions": {
1765
- "value": "(Special) Agnostic Conditions Components, as if they were Lineal Agnostic Components themselves, can be composed with any Prime Environment Logics agnostically, as long as the Prime Environment Logics Module, by convention, does not export React components.",
1773
+ "value": "(Special) Agnostic Conditions Modules cannot be imported in the (Abstract) Agnostic Environment, only strictly on the server or strictly on the client.",
1766
1774
  "key": "DIRECTIVE21#USE_AGNOSTIC_LOGICS#USE_AGNOSTIC_CONDITIONS"
1767
1775
  },
1776
+ "use agnostic strategies": {
1777
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
1778
+ "key": "DIRECTIVE21#USE_AGNOSTIC_LOGICS#USE_AGNOSTIC_STRATEGIES"
1779
+ },
1768
1780
  "kinds": {
1769
1781
  "value": "Prime Agnostic Logics",
1770
1782
  "key": "DIRECTIVE21#USE_AGNOSTIC_LOGICS#KINDS"
@@ -1851,6 +1863,10 @@
1851
1863
  "value": "(Special) Agnostic Conditions Components, as if they were Lineal Agnostic Components themselves, can render safely on the server just like they can on the client.",
1852
1864
  "key": "DIRECTIVE21#USE_SERVER_COMPONENTS#USE_AGNOSTIC_CONDITIONS"
1853
1865
  },
1866
+ "use agnostic strategies": {
1867
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
1868
+ "key": "DIRECTIVE21#USE_SERVER_COMPONENTS#USE_AGNOSTIC_STRATEGIES"
1869
+ },
1854
1870
  "kinds": {
1855
1871
  "value": "Lineal Server Components",
1856
1872
  "key": "DIRECTIVE21#USE_SERVER_COMPONENTS#KINDS"
@@ -1937,6 +1953,10 @@
1937
1953
  "value": "(Special) Agnostic Conditions Components, as if they were Lineal Agnostic Components themselves, can render safely on the client just like they can on the server.",
1938
1954
  "key": "DIRECTIVE21#USE_CLIENT_COMPONENTS#USE_AGNOSTIC_CONDITIONS"
1939
1955
  },
1956
+ "use agnostic strategies": {
1957
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
1958
+ "key": "DIRECTIVE21#USE_CLIENT_COMPONENTS#USE_AGNOSTIC_STRATEGIES"
1959
+ },
1940
1960
  "kinds": {
1941
1961
  "value": "Lineal Client Components",
1942
1962
  "key": "DIRECTIVE21#USE_CLIENT_COMPONENTS#KINDS"
@@ -2024,9 +2044,13 @@
2024
2044
  "key": "DIRECTIVE21#USE_AGNOSTIC_COMPONENTS#USE_CLIENT_CONTEXTS"
2025
2045
  },
2026
2046
  "use agnostic conditions": {
2027
- "value": "(Special) Agnostic Conditions Components can compose with Lineal Agnostic Components as if they were Lineal Agnostic Components themselves, making them a necessary mechanism for Lineal Server Components to be nested in any Agnostic Components.",
2047
+ "value": "(Special) Agnostic Conditions Modules cannot be imported in the (Abstract) Agnostic Environment, only strictly on the server or strictly on the client.",
2028
2048
  "key": "DIRECTIVE21#USE_AGNOSTIC_COMPONENTS#USE_AGNOSTIC_CONDITIONS"
2029
2049
  },
2050
+ "use agnostic strategies": {
2051
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
2052
+ "key": "DIRECTIVE21#USE_AGNOSTIC_COMPONENTS#USE_AGNOSTIC_STRATEGIES"
2053
+ },
2030
2054
  "kinds": {
2031
2055
  "value": "Lineal Agnostic Components",
2032
2056
  "key": "DIRECTIVE21#USE_AGNOSTIC_COMPONENTS#KINDS"
@@ -2113,6 +2137,10 @@
2113
2137
  "value": "(Special) Agnostic Conditions Components aren't allowed because (Special) Server Functions have no business working with React Components.",
2114
2138
  "key": "DIRECTIVE21#USE_SERVER_FUNCTIONS#USE_AGNOSTIC_CONDITIONS"
2115
2139
  },
2140
+ "use agnostic strategies": {
2141
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
2142
+ "key": "DIRECTIVE21#USE_SERVER_FUNCTIONS#USE_AGNOSTIC_STRATEGIES"
2143
+ },
2116
2144
  "kinds": {
2117
2145
  "value": "Special Server Functions",
2118
2146
  "key": "DIRECTIVE21#USE_SERVER_FUNCTIONS#KINDS"
@@ -2208,9 +2236,13 @@
2208
2236
  "key": "DIRECTIVE21#USE_CLIENT_CONTEXTS#USE_CLIENT_CONTEXTS"
2209
2237
  },
2210
2238
  "use agnostic conditions": {
2211
- "value": "(Special) Agnostic Conditions Components, as if they were Lineal Agnostic Components themselves, can render safely on the client just like they can on the server, in a mechanism that allows Client Contexts Components to safely and indirectly compose with child Server Components within Client Contexts Modules.",
2239
+ "value": "(Special) Agnostic Conditions Components, as if they were Lineal Agnostic Components themselves, can render safely on the client just like they can on the server.",
2212
2240
  "key": "DIRECTIVE21#USE_CLIENT_CONTEXTS#USE_AGNOSTIC_CONDITIONS"
2213
2241
  },
2242
+ "use agnostic strategies": {
2243
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
2244
+ "key": "DIRECTIVE21#USE_CLIENT_CONTEXTS#USE_AGNOSTIC_STRATEGIES"
2245
+ },
2214
2246
  "kinds": {
2215
2247
  "value": "Special Client Contexts",
2216
2248
  "key": "DIRECTIVE21#USE_CLIENT_CONTEXTS#KINDS"
@@ -2274,23 +2306,23 @@
2274
2306
  },
2275
2307
  "use agnostic conditions": {
2276
2308
  "use server logics": {
2277
- "value": "Prime Server Logics cannot run on both the server and the client.",
2309
+ "value": "Prime Server Logics aren't allowed because (Special) Agnostic Conditions Modules can only import directly from Components Modules, given how the making of their conditioned mechanism is restricted to React Components.",
2278
2310
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_SERVER_LOGICS"
2279
2311
  },
2280
2312
  "use client logics": {
2281
- "value": "Prime Client Logics cannot run on both the server and the client.",
2313
+ "value": "Prime Client Logics aren't allowed because (Special) Agnostic Conditions Modules can only import directly from Components Modules, given how the making of their conditioned mechanism is restricted to React Components.",
2282
2314
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_CLIENT_LOGICS"
2283
2315
  },
2284
2316
  "use agnostic logics": {
2285
- "value": "Prime Agnostic Logics, being environment-agnostic logic, can safely support any Agnostic Components, including (Special) Agnostic Conditions Components. (In this case this is necessary for the import of the `conditionAgnosticComponent` function needed to make Agnostic Conditions Components.)",
2317
+ "value": "Prime Agnostic Logics aren't allowed because (Special) Agnostic Conditions Modules can only import directly from Components Modules, given how the making of their conditioned mechanism is restricted to React Components.",
2286
2318
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_AGNOSTIC_LOGICS"
2287
2319
  },
2288
2320
  "use server components": {
2289
- "value": "Lineal Server Components are to be paired as `ComponentForServer` components with `ComponentForClient` components to form (Special) Agnostic Conditions Components.",
2321
+ "value": "Lineal Server Components are to be paired as `ComponentForServer` components with `ComponentForClient` components to form (Special) Agnostic Conditions Components. The `ComponentForServer` is always the first assigned.",
2290
2322
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_SERVER_COMPONENTS"
2291
2323
  },
2292
2324
  "use client components": {
2293
- "value": "Lineal Client Components are to be paired as `ComponentForClient` components with `ComponentForServer` components to form (Special) Agnostic Conditions Components.",
2325
+ "value": "Lineal Client Components are to be paired as `ComponentForClient` components with `ComponentForServer` components to form (Special) Agnostic Conditions Components. The `ComponentForClient` is always the last assigned.",
2294
2326
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_CLIENT_COMPONENTS"
2295
2327
  },
2296
2328
  "use agnostic components": {
@@ -2298,17 +2330,33 @@
2298
2330
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_AGNOSTIC_COMPONENTS"
2299
2331
  },
2300
2332
  "use server functions": {
2301
- "value": "(Special) Server Functions are not accepted because (Special) Agnostic Conditions Components only take finite, imported components as arguments in their making. As such, assigning props to these components, including Server Functions, is not made within Agnostic Conditions Modules.",
2333
+ "value": "(Special) Server Functions aren't allowed because (Special) Agnostic Conditions Modules can only import directly from Components Modules, given how the making of their conditioned mechanism is restricted to React Components.",
2302
2334
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_SERVER_FUNCTIONS"
2303
2335
  },
2304
2336
  "use client contexts": {
2305
- "value": "(Special) Client Contexts Components cannot be used as component arguments for (Special) Agnostic Conditions Components since they only take Lineal Components as arguments in their making.",
2337
+ "value": "(Special) Client Contexts Components can actually be used as `ComponentForClient` arguments for (Special) Agnostic Conditions Components notably as counterparts to similar passthrough components selected as `ComponentForServer` arguments.",
2306
2338
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_CLIENT_CONTEXTS"
2307
2339
  },
2308
2340
  "use agnostic conditions": {
2309
- "value": "(Special) Agnostic Conditions Components, despite not being Lineal Components themselves, output components that can only be Lineal and compatible with their attributed rendering environments, making them acceptable arguments in the making of Agnostic Conditions Components.",
2341
+ "value": "(Special) Agnostic Conditions Modules cannot be imported in the (Abstract) Agnostic Environment, only strictly on the server or strictly on the client.",
2310
2342
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_AGNOSTIC_CONDITIONS"
2311
2343
  },
2344
+ "use agnostic strategies": {
2345
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
2346
+ "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_AGNOSTIC_STRATEGIES"
2347
+ },
2348
+ "invalidEnvironment": {
2349
+ "value": "(Special) Agnostic Conditions Modules cannot be imported in the (Abstract) Agnostic Environment, only strictly on the server or strictly on the client.",
2350
+ "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#INVALIDENVIRONMENT"
2351
+ },
2352
+ "invalidOnlyInComponents": {
2353
+ "value": "(Special) Agnostic Conditions Modules can only be imported by Components Modules, given how the consuming of their conditioned mechanism is restricted to React Components.",
2354
+ "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#INVALIDONLYINCOMPONENTS"
2355
+ },
2356
+ "invalidOnlyFromComponents": {
2357
+ "value": "(Special) Agnostic Conditions Modules can only import directly from Components Modules, given how the making of their conditioned mechanism is restricted to React Components.",
2358
+ "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#INVALIDONLYFROMCOMPONENTS"
2359
+ },
2312
2360
  "kinds": {
2313
2361
  "value": "Special Agnostic Conditions",
2314
2362
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#KINDS"
@@ -2371,10 +2419,54 @@
2371
2419
  }
2372
2420
  },
2373
2421
  "use agnostic strategies": {
2422
+ "use server logics": {
2423
+ "value": "Prime Server Logics allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2424
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_SERVER_LOGICS"
2425
+ },
2426
+ "use client logics": {
2427
+ "value": "Prime Client Logics allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2428
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_CLIENT_LOGICS"
2429
+ },
2430
+ "use agnostic logics": {
2431
+ "value": "Prime Agnostic Logics allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2432
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_AGNOSTIC_LOGICS"
2433
+ },
2434
+ "use server components": {
2435
+ "value": "Lineal Server Components allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2436
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_SERVER_COMPONENTS"
2437
+ },
2438
+ "use client components": {
2439
+ "value": "Lineal Client Components allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2440
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_CLIENT_COMPONENTS"
2441
+ },
2442
+ "use agnostic components": {
2443
+ "value": "Lineal Agnostic Components allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2444
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_AGNOSTIC_COMPONENTS"
2445
+ },
2446
+ "use server functions": {
2447
+ "value": "(Special) Server Functions allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2448
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_SERVER_FUNCTIONS"
2449
+ },
2450
+ "use client contexts": {
2451
+ "value": "(Special) Client Contexts Components allowed, because (Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2452
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_CLIENT_CONTEXTS"
2453
+ },
2454
+ "use agnostic conditions": {
2455
+ "value": "(Special) Agnostic Conditions Modules cannot be imported in the (Abstract) Agnostic Environment, only strictly on the server or strictly on the client.",
2456
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_AGNOSTIC_CONDITIONS"
2457
+ },
2458
+ "use agnostic strategies": {
2459
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
2460
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#USE_AGNOSTIC_STRATEGIES"
2461
+ },
2374
2462
  "valid": {
2375
- "value": "(Special) Agnostic Strategies Modules can import all known modules, except themselves since they cannot be imported as they are, only as and via Strategies. (Since Agnostic Strategies Modules cannot be imported as they are, there is no such things as a `'use agnostic strategies'` importFileCommentedDirective.)",
2463
+ "value": "(Special) Agnostic Strategies Modules can import all known modules except Special Agnostic Modules, meaning themselves as file generators that should not be imported directly and (Special) Agnostic Conditions Modules which cannot be imported in the (Abstract) Agnostic Environment.",
2376
2464
  "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#VALID"
2377
2465
  },
2466
+ "invalid": {
2467
+ "value": "(Special) Agnostic Strategies Modules cannot be imported by any of the known modules, since given that Agnostic Strategies Modules generate strategized files, they need to be imported via their strategized files (like those ending in `.serverLogics.ts`) instead.",
2468
+ "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#INVALID"
2469
+ },
2378
2470
  "kinds": {
2379
2471
  "value": "Special Agnostic Strategies",
2380
2472
  "key": "DIRECTIVE21#USE_AGNOSTIC_STRATEGIES#KINDS"