eslint-plugin-use-agnostic 2.0.0 → 2.0.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.
@@ -329,6 +329,10 @@
329
329
  "value": "The path of the project's React folder where everything React lives, relative to the root of the project. This is, for example, the app directory when using the Next.js App Router, as `\"app\"`.",
330
330
  "key": "JSDOC#PARAMS#REACTFOLDER"
331
331
  },
332
+ "rootPath": {
333
+ "value": "The absolute path of the root of the project, from which the absolute path of the React folder can be easily obtained.",
334
+ "key": "JSDOC#PARAMS#ROOTPATH"
335
+ },
332
336
  "agnostic20": {
333
337
  "currentFileEffectiveDirective": {
334
338
  "value": "The current file's effective directive.",
@@ -1662,7 +1666,7 @@
1662
1666
  "key": "DIRECTIVE21#USE_SERVER_LOGICS#USE_CLIENT_CONTEXTS"
1663
1667
  },
1664
1668
  "use agnostic conditions": {
1665
- "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.",
1669
+ "value": "(Special) Agnostic Conditions Components and/or Logics, as if they were Lineal Agnostic Components and/or Prime Agnostic Logics themselves, can render safely on the server just like they can on the client.",
1666
1670
  "key": "DIRECTIVE21#USE_SERVER_LOGICS#USE_AGNOSTIC_CONDITIONS"
1667
1671
  },
1668
1672
  "use agnostic strategies": {
@@ -1752,7 +1756,7 @@
1752
1756
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_CLIENT_CONTEXTS"
1753
1757
  },
1754
1758
  "use agnostic conditions": {
1755
- "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.",
1759
+ "value": "(Special) Agnostic Conditions Components and/or Logics, as if they were Lineal Agnostic Components and/or Prime Agnostic Logics themselves, can render safely on the client just like they can on the server.",
1756
1760
  "key": "DIRECTIVE21#USE_CLIENT_LOGICS#USE_AGNOSTIC_CONDITIONS"
1757
1761
  },
1758
1762
  "use agnostic strategies": {
@@ -1932,7 +1936,7 @@
1932
1936
  "key": "DIRECTIVE21#USE_SERVER_COMPONENTS#USE_CLIENT_CONTEXTS"
1933
1937
  },
1934
1938
  "use agnostic conditions": {
1935
- "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.",
1939
+ "value": "(Special) Agnostic Conditions Components and/or Logics, as if they were Lineal Agnostic Components and/or Prime Agnostic Logics themselves, can render safely on the server just like they can on the client.",
1936
1940
  "key": "DIRECTIVE21#USE_SERVER_COMPONENTS#USE_AGNOSTIC_CONDITIONS"
1937
1941
  },
1938
1942
  "use agnostic strategies": {
@@ -2022,7 +2026,7 @@
2022
2026
  "key": "DIRECTIVE21#USE_CLIENT_COMPONENTS#USE_CLIENT_CONTEXTS"
2023
2027
  },
2024
2028
  "use agnostic conditions": {
2025
- "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.",
2029
+ "value": "(Special) Agnostic Conditions Components and/or Logics, as if they were Lineal Agnostic Components and/or Prime Agnostic Logics themselves, can render safely on the client just like they can on the server.",
2026
2030
  "key": "DIRECTIVE21#USE_CLIENT_COMPONENTS#USE_AGNOSTIC_CONDITIONS"
2027
2031
  },
2028
2032
  "use agnostic strategies": {
@@ -2206,7 +2210,7 @@
2206
2210
  "key": "DIRECTIVE21#USE_SERVER_FUNCTIONS#USE_CLIENT_CONTEXTS"
2207
2211
  },
2208
2212
  "use agnostic conditions": {
2209
- "value": "(Special) Agnostic Conditions Components aren't allowed because (Special) Server Functions have no business working with React Components.",
2213
+ "value": "(Special) Agnostic Conditions Components and/or Logics aren't allowed because (Special) Server Functions have no business working with React Components.",
2210
2214
  "key": "DIRECTIVE21#USE_SERVER_FUNCTIONS#USE_AGNOSTIC_CONDITIONS"
2211
2215
  },
2212
2216
  "use agnostic strategies": {
@@ -2308,7 +2312,7 @@
2308
2312
  "key": "DIRECTIVE21#USE_CLIENT_CONTEXTS#USE_CLIENT_CONTEXTS"
2309
2313
  },
2310
2314
  "use agnostic conditions": {
2311
- "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.",
2315
+ "value": "(Special) Agnostic Conditions Components and/or Logics, as if they were Lineal Agnostic Components and/or Prime Agnostic Logics themselves, can render safely on the client just like they can on the server.",
2312
2316
  "key": "DIRECTIVE21#USE_CLIENT_CONTEXTS#USE_AGNOSTIC_CONDITIONS"
2313
2317
  },
2314
2318
  "use agnostic strategies": {
@@ -2378,31 +2382,31 @@
2378
2382
  },
2379
2383
  "use agnostic conditions": {
2380
2384
  "use server logics": {
2381
- "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.",
2385
+ "value": "Prime Server Logics are to be paired as `LogicForServer` utilities with `LogicForClient` utilities to form (Special) Agnostic Conditions Logics. The `LogicForServer` is always the first assigned. The exported variable should be prefixed by `utilize-`, like `utilizeUtility`.",
2382
2386
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_SERVER_LOGICS"
2383
2387
  },
2384
2388
  "use client logics": {
2385
- "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.",
2389
+ "value": "Prime Client Logics are to be paired as `LogicForClient` utilities with `LogicForServer` utilities to form (Special) Agnostic Conditions Logics. The `LogicForClient` is always the last assigned. The exported variable should be prefixed by `utilize-`, like `utilizeUtility`.",
2386
2390
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_CLIENT_LOGICS"
2387
2391
  },
2388
2392
  "use agnostic logics": {
2389
- "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.",
2393
+ "value": "Prime Agnostic Logics can take the place of `LogicForServer` and/or `LogicForClient` utilities to form (Special) Agnostic Conditions Logics. The exported variable should be prefixed by `utilize-`, like `utilizeUtility`.",
2390
2394
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_AGNOSTIC_LOGICS"
2391
2395
  },
2392
2396
  "use server components": {
2393
- "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.",
2397
+ "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. The exported variable should be in PascalCase, like `ReactComponent`.",
2394
2398
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_SERVER_COMPONENTS"
2395
2399
  },
2396
2400
  "use client components": {
2397
- "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.",
2401
+ "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. The exported variable should be in PascalCase, like `ReactComponent`.",
2398
2402
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_CLIENT_COMPONENTS"
2399
2403
  },
2400
2404
  "use agnostic components": {
2401
- "value": "Lineal Agnostic Components can take the place of `ComponentForServer` and/or `ComponentForClient` components to form (Special) Agnostic Conditions Components.",
2405
+ "value": "Lineal Agnostic Components can take the place of `ComponentForServer` and/or `ComponentForClient` components to form (Special) Agnostic Conditions Components. The exported variable should be in PascalCase, like `ReactComponent`.",
2402
2406
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_AGNOSTIC_COMPONENTS"
2403
2407
  },
2404
2408
  "use server functions": {
2405
- "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.",
2409
+ "value": "(Special) Server Functions aren't allowed because they do not have 1-to-1 behavioral equivalents for the client that would satisfy (Special) Agnostic Conditions Modules.",
2406
2410
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#USE_SERVER_FUNCTIONS"
2407
2411
  },
2408
2412
  "use client contexts": {
@@ -2454,15 +2458,15 @@
2454
2458
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#MODULESIMPLE"
2455
2459
  },
2456
2460
  "specials": {
2457
- "value": "(Special) Agnostic Conditions Components",
2461
+ "value": "(Special) Agnostic Conditions Components and/or Logics",
2458
2462
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#SPECIALS"
2459
2463
  },
2460
2464
  "specialsComma": {
2461
- "value": "(Special) Agnostic Conditions Components,",
2465
+ "value": "(Special) Agnostic Conditions Components and/or Logics,",
2462
2466
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#SPECIALSCOMMA"
2463
2467
  },
2464
2468
  "specialsPeriod": {
2465
- "value": "(Special) Agnostic Conditions Components.",
2469
+ "value": "(Special) Agnostic Conditions Components and/or Logics.",
2466
2470
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#SPECIALSPERIOD"
2467
2471
  },
2468
2472
  "importingAModule": {
@@ -2474,11 +2478,11 @@
2474
2478
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#IMPORTINGBYAFOLDER"
2475
2479
  },
2476
2480
  "importingViaStrategy": {
2477
- "value": "...Importing (Special) Agnostic Conditions Components via Special Agnostic Strategy.",
2481
+ "value": "...Importing (Special) Agnostic Conditions Components and/or Logics via Special Agnostic Strategy.",
2478
2482
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#IMPORTINGVIASTRATEGY"
2479
2483
  },
2480
2484
  "importingViaStrategyByAFolder": {
2481
- "value": "...Importing (Special) Agnostic Conditions Components via Special Agnostic Strategy by a folder.",
2485
+ "value": "...Importing (Special) Agnostic Conditions Components and/or Logics via Special Agnostic Strategy by a folder.",
2482
2486
  "key": "DIRECTIVE21#USE_AGNOSTIC_CONDITIONS#IMPORTINGVIASTRATEGYBYAFOLDER"
2483
2487
  },
2484
2488
  "directive": {
@@ -2680,7 +2684,7 @@
2680
2684
  "key": "DIRECTIVE21#FORCOMPOSEDVARIABLES#AGNOSTICCOMPONENTSCANANY"
2681
2685
  },
2682
2686
  "asIfLinealAgnostic": {
2683
- "value": "as if they were Lineal Agnostic Components themselves,",
2687
+ "value": "as if they were Lineal Agnostic Components and/or Prime Agnostic Logics themselves,",
2684
2688
  "key": "DIRECTIVE21#FORCOMPOSEDVARIABLES#ASIFLINEALAGNOSTIC"
2685
2689
  },
2686
2690
  "canAnyPrimeLogics": {