@luxfi/biome-config 1.0.1 → 1.0.3
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/compiled/base.json +90 -90
- package/package.json +3 -7
- package/src/processor.js +1 -1
- package/src/processor.test.js +2 -2
- package/src/universePackages.js +5 -5
package/compiled/base.json
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"options": {
|
|
188
188
|
"paths": {
|
|
189
189
|
"utilities/src/telemetry/analytics/analytics": {
|
|
190
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
190
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
191
191
|
},
|
|
192
192
|
"utilities/src/telemetry/trace/Trace": {
|
|
193
193
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
258
258
|
},
|
|
259
259
|
"expo-haptics": {
|
|
260
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
260
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
261
261
|
},
|
|
262
262
|
"@uniswap/analytics": {
|
|
263
263
|
"importNames": [
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"options": {
|
|
464
464
|
"paths": {
|
|
465
465
|
"utilities/src/telemetry/analytics/analytics": {
|
|
466
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
466
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
467
467
|
},
|
|
468
468
|
"utilities/src/telemetry/trace/Trace": {
|
|
469
469
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
534
534
|
},
|
|
535
535
|
"expo-haptics": {
|
|
536
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
536
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
537
537
|
},
|
|
538
538
|
"@uniswap/analytics": {
|
|
539
539
|
"importNames": [
|
|
@@ -581,7 +581,7 @@
|
|
|
581
581
|
"options": {
|
|
582
582
|
"paths": {
|
|
583
583
|
"utilities/src/telemetry/analytics/analytics": {
|
|
584
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
584
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
585
585
|
},
|
|
586
586
|
"utilities/src/telemetry/trace/Trace": {
|
|
587
587
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -651,7 +651,7 @@
|
|
|
651
651
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
652
652
|
},
|
|
653
653
|
"expo-haptics": {
|
|
654
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
654
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
655
655
|
},
|
|
656
656
|
"@uniswap/analytics": {
|
|
657
657
|
"importNames": [
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
"options": {
|
|
700
700
|
"paths": {
|
|
701
701
|
"utilities/src/telemetry/analytics/analytics": {
|
|
702
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
702
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
703
703
|
},
|
|
704
704
|
"utilities/src/telemetry/trace/Trace": {
|
|
705
705
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -769,7 +769,7 @@
|
|
|
769
769
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
770
770
|
},
|
|
771
771
|
"expo-haptics": {
|
|
772
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
772
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
773
773
|
},
|
|
774
774
|
"@uniswap/analytics": {
|
|
775
775
|
"importNames": [
|
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
"options": {
|
|
818
818
|
"paths": {
|
|
819
819
|
"utilities/src/telemetry/analytics/analytics": {
|
|
820
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
820
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
821
821
|
},
|
|
822
822
|
"utilities/src/telemetry/trace/Trace": {
|
|
823
823
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -887,7 +887,7 @@
|
|
|
887
887
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
888
888
|
},
|
|
889
889
|
"expo-haptics": {
|
|
890
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
890
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
891
891
|
},
|
|
892
892
|
"@uniswap/analytics": {
|
|
893
893
|
"importNames": [
|
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
"options": {
|
|
936
936
|
"paths": {
|
|
937
937
|
"utilities/src/telemetry/analytics/analytics": {
|
|
938
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
938
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
939
939
|
},
|
|
940
940
|
"utilities/src/telemetry/trace/Trace": {
|
|
941
941
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1005,7 +1005,7 @@
|
|
|
1005
1005
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1006
1006
|
},
|
|
1007
1007
|
"expo-haptics": {
|
|
1008
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1008
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1009
1009
|
},
|
|
1010
1010
|
"@uniswap/analytics": {
|
|
1011
1011
|
"importNames": [
|
|
@@ -1053,7 +1053,7 @@
|
|
|
1053
1053
|
"options": {
|
|
1054
1054
|
"paths": {
|
|
1055
1055
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1056
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1056
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1057
1057
|
},
|
|
1058
1058
|
"utilities/src/telemetry/trace/Trace": {
|
|
1059
1059
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1123,7 +1123,7 @@
|
|
|
1123
1123
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1124
1124
|
},
|
|
1125
1125
|
"expo-haptics": {
|
|
1126
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1126
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1127
1127
|
},
|
|
1128
1128
|
"@uniswap/analytics": {
|
|
1129
1129
|
"importNames": [
|
|
@@ -1171,7 +1171,7 @@
|
|
|
1171
1171
|
"options": {
|
|
1172
1172
|
"paths": {
|
|
1173
1173
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1174
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1174
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1175
1175
|
},
|
|
1176
1176
|
"utilities/src/telemetry/trace/Trace": {
|
|
1177
1177
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1241,7 +1241,7 @@
|
|
|
1241
1241
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1242
1242
|
},
|
|
1243
1243
|
"expo-haptics": {
|
|
1244
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1244
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1245
1245
|
},
|
|
1246
1246
|
"@uniswap/analytics": {
|
|
1247
1247
|
"importNames": [
|
|
@@ -1289,7 +1289,7 @@
|
|
|
1289
1289
|
"options": {
|
|
1290
1290
|
"paths": {
|
|
1291
1291
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1292
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1292
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1293
1293
|
},
|
|
1294
1294
|
"utilities/src/telemetry/trace/Trace": {
|
|
1295
1295
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1359,7 +1359,7 @@
|
|
|
1359
1359
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1360
1360
|
},
|
|
1361
1361
|
"expo-haptics": {
|
|
1362
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1362
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1363
1363
|
},
|
|
1364
1364
|
"@uniswap/analytics": {
|
|
1365
1365
|
"importNames": [
|
|
@@ -1407,7 +1407,7 @@
|
|
|
1407
1407
|
"options": {
|
|
1408
1408
|
"paths": {
|
|
1409
1409
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1410
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1410
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1411
1411
|
},
|
|
1412
1412
|
"utilities/src/telemetry/trace/Trace": {
|
|
1413
1413
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1477,7 +1477,7 @@
|
|
|
1477
1477
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1478
1478
|
},
|
|
1479
1479
|
"expo-haptics": {
|
|
1480
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1480
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1481
1481
|
},
|
|
1482
1482
|
"@uniswap/analytics": {
|
|
1483
1483
|
"importNames": [
|
|
@@ -1525,7 +1525,7 @@
|
|
|
1525
1525
|
"options": {
|
|
1526
1526
|
"paths": {
|
|
1527
1527
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1528
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1528
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1529
1529
|
},
|
|
1530
1530
|
"utilities/src/telemetry/trace/Trace": {
|
|
1531
1531
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1595,7 +1595,7 @@
|
|
|
1595
1595
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1596
1596
|
},
|
|
1597
1597
|
"expo-haptics": {
|
|
1598
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1598
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1599
1599
|
},
|
|
1600
1600
|
"@uniswap/analytics": {
|
|
1601
1601
|
"importNames": [
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
"options": {
|
|
1644
1644
|
"paths": {
|
|
1645
1645
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1646
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1646
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1647
1647
|
},
|
|
1648
1648
|
"utilities/src/telemetry/trace/Trace": {
|
|
1649
1649
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1713,7 +1713,7 @@
|
|
|
1713
1713
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1714
1714
|
},
|
|
1715
1715
|
"expo-haptics": {
|
|
1716
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1716
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1717
1717
|
},
|
|
1718
1718
|
"@uniswap/analytics": {
|
|
1719
1719
|
"importNames": [
|
|
@@ -1761,7 +1761,7 @@
|
|
|
1761
1761
|
"options": {
|
|
1762
1762
|
"paths": {
|
|
1763
1763
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1764
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1764
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1765
1765
|
},
|
|
1766
1766
|
"utilities/src/telemetry/trace/Trace": {
|
|
1767
1767
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -1831,7 +1831,7 @@
|
|
|
1831
1831
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
1832
1832
|
},
|
|
1833
1833
|
"expo-haptics": {
|
|
1834
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
1834
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
1835
1835
|
},
|
|
1836
1836
|
"@uniswap/analytics": {
|
|
1837
1837
|
"importNames": [
|
|
@@ -1866,7 +1866,7 @@
|
|
|
1866
1866
|
},
|
|
1867
1867
|
{
|
|
1868
1868
|
"includes": [
|
|
1869
|
-
"
|
|
1869
|
+
"pkgs/prices/src/index.ts"
|
|
1870
1870
|
],
|
|
1871
1871
|
"linter": {
|
|
1872
1872
|
"rules": {}
|
|
@@ -1922,11 +1922,11 @@
|
|
|
1922
1922
|
},
|
|
1923
1923
|
{
|
|
1924
1924
|
"includes": [
|
|
1925
|
-
"
|
|
1926
|
-
"!
|
|
1927
|
-
"!
|
|
1928
|
-
"!
|
|
1929
|
-
"!
|
|
1925
|
+
"pkgs/ui/**",
|
|
1926
|
+
"!pkgs/ui/**/*.test.ts",
|
|
1927
|
+
"!pkgs/ui/**/*.test.tsx",
|
|
1928
|
+
"!pkgs/ui/**/test/**",
|
|
1929
|
+
"!pkgs/ui/**/tests/**"
|
|
1930
1930
|
],
|
|
1931
1931
|
"linter": {
|
|
1932
1932
|
"rules": {
|
|
@@ -1936,7 +1936,7 @@
|
|
|
1936
1936
|
"options": {
|
|
1937
1937
|
"paths": {
|
|
1938
1938
|
"utilities/src/telemetry/analytics/analytics": {
|
|
1939
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
1939
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
1940
1940
|
},
|
|
1941
1941
|
"utilities/src/telemetry/trace/Trace": {
|
|
1942
1942
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -2006,7 +2006,7 @@
|
|
|
2006
2006
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
2007
2007
|
},
|
|
2008
2008
|
"expo-haptics": {
|
|
2009
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
2009
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
2010
2010
|
},
|
|
2011
2011
|
"@uniswap/analytics": {
|
|
2012
2012
|
"importNames": [
|
|
@@ -2044,11 +2044,11 @@
|
|
|
2044
2044
|
},
|
|
2045
2045
|
{
|
|
2046
2046
|
"includes": [
|
|
2047
|
-
"
|
|
2048
|
-
"!
|
|
2049
|
-
"!
|
|
2050
|
-
"!
|
|
2051
|
-
"!
|
|
2047
|
+
"pkgs/utilities/**",
|
|
2048
|
+
"!pkgs/utilities/**/*.test.ts",
|
|
2049
|
+
"!pkgs/utilities/**/*.test.tsx",
|
|
2050
|
+
"!pkgs/utilities/**/test/**",
|
|
2051
|
+
"!pkgs/utilities/**/tests/**"
|
|
2052
2052
|
],
|
|
2053
2053
|
"linter": {
|
|
2054
2054
|
"rules": {
|
|
@@ -2058,7 +2058,7 @@
|
|
|
2058
2058
|
"options": {
|
|
2059
2059
|
"paths": {
|
|
2060
2060
|
"utilities/src/telemetry/analytics/analytics": {
|
|
2061
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
2061
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
2062
2062
|
},
|
|
2063
2063
|
"utilities/src/telemetry/trace/Trace": {
|
|
2064
2064
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -2128,7 +2128,7 @@
|
|
|
2128
2128
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
2129
2129
|
},
|
|
2130
2130
|
"expo-haptics": {
|
|
2131
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
2131
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
2132
2132
|
},
|
|
2133
2133
|
"@uniswap/analytics": {
|
|
2134
2134
|
"importNames": [
|
|
@@ -2166,10 +2166,10 @@
|
|
|
2166
2166
|
},
|
|
2167
2167
|
{
|
|
2168
2168
|
"includes": [
|
|
2169
|
-
"
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2172
|
-
"
|
|
2169
|
+
"pkgs/utilities/src/index.ts",
|
|
2170
|
+
"pkgs/utilities/src/platform/*",
|
|
2171
|
+
"pkgs/utilities/src/addresses/*",
|
|
2172
|
+
"pkgs/utilities/src/errors/*"
|
|
2173
2173
|
],
|
|
2174
2174
|
"linter": {
|
|
2175
2175
|
"rules": {}
|
|
@@ -2177,11 +2177,11 @@
|
|
|
2177
2177
|
},
|
|
2178
2178
|
{
|
|
2179
2179
|
"includes": [
|
|
2180
|
-
"
|
|
2181
|
-
"!
|
|
2182
|
-
"!
|
|
2183
|
-
"!
|
|
2184
|
-
"!
|
|
2180
|
+
"pkgs/uniswap/**",
|
|
2181
|
+
"!pkgs/uniswap/**/*.test.ts",
|
|
2182
|
+
"!pkgs/uniswap/**/*.test.tsx",
|
|
2183
|
+
"!pkgs/uniswap/**/test/**",
|
|
2184
|
+
"!pkgs/uniswap/**/tests/**"
|
|
2185
2185
|
],
|
|
2186
2186
|
"linter": {
|
|
2187
2187
|
"rules": {
|
|
@@ -2191,7 +2191,7 @@
|
|
|
2191
2191
|
"options": {
|
|
2192
2192
|
"paths": {
|
|
2193
2193
|
"utilities/src/telemetry/analytics/analytics": {
|
|
2194
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
2194
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
2195
2195
|
},
|
|
2196
2196
|
"utilities/src/telemetry/trace/Trace": {
|
|
2197
2197
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -2261,7 +2261,7 @@
|
|
|
2261
2261
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
2262
2262
|
},
|
|
2263
2263
|
"expo-haptics": {
|
|
2264
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
2264
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
2265
2265
|
},
|
|
2266
2266
|
"@uniswap/analytics": {
|
|
2267
2267
|
"importNames": [
|
|
@@ -2297,7 +2297,7 @@
|
|
|
2297
2297
|
"importNames": [
|
|
2298
2298
|
"UNIVERSE_CHAIN_INFO"
|
|
2299
2299
|
],
|
|
2300
|
-
"message": "Use useChainInfo or helpers in
|
|
2300
|
+
"message": "Use useChainInfo or helpers in pkgs/uniswap/src/features/chains/utils.ts when possible!"
|
|
2301
2301
|
},
|
|
2302
2302
|
"uniswap/src/data/graphql/uniswap-data-api/__generated__/react-hooks": {
|
|
2303
2303
|
"importNames": [
|
|
@@ -2329,12 +2329,12 @@
|
|
|
2329
2329
|
},
|
|
2330
2330
|
{
|
|
2331
2331
|
"includes": [
|
|
2332
|
-
"
|
|
2333
|
-
"
|
|
2334
|
-
"
|
|
2335
|
-
"
|
|
2336
|
-
"
|
|
2337
|
-
"
|
|
2332
|
+
"pkgs/uniswap/src/index.ts",
|
|
2333
|
+
"pkgs/uniswap/src/features/telemetry/constants/index.ts",
|
|
2334
|
+
"pkgs/uniswap/src/features/telemetry/constants/trace/index.ts",
|
|
2335
|
+
"pkgs/uniswap/src/i18n/index.ts",
|
|
2336
|
+
"pkgs/uniswap/src/state/index.ts",
|
|
2337
|
+
"pkgs/uniswap/src/test/**"
|
|
2338
2338
|
],
|
|
2339
2339
|
"linter": {
|
|
2340
2340
|
"rules": {
|
|
@@ -2344,7 +2344,7 @@
|
|
|
2344
2344
|
"options": {
|
|
2345
2345
|
"paths": {
|
|
2346
2346
|
"utilities/src/telemetry/analytics/analytics": {
|
|
2347
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
2347
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
2348
2348
|
},
|
|
2349
2349
|
"utilities/src/telemetry/trace/Trace": {
|
|
2350
2350
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -2411,7 +2411,7 @@
|
|
|
2411
2411
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
2412
2412
|
},
|
|
2413
2413
|
"expo-haptics": {
|
|
2414
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
2414
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
2415
2415
|
},
|
|
2416
2416
|
"@uniswap/analytics": {
|
|
2417
2417
|
"importNames": [
|
|
@@ -2446,8 +2446,8 @@
|
|
|
2446
2446
|
},
|
|
2447
2447
|
{
|
|
2448
2448
|
"includes": [
|
|
2449
|
-
"
|
|
2450
|
-
"
|
|
2449
|
+
"pkgs/uniswap/src/data/**/__generated__/**",
|
|
2450
|
+
"pkgs/uniswap/src/abis/types/**"
|
|
2451
2451
|
],
|
|
2452
2452
|
"linter": {
|
|
2453
2453
|
"enabled": false
|
|
@@ -2455,7 +2455,7 @@
|
|
|
2455
2455
|
},
|
|
2456
2456
|
{
|
|
2457
2457
|
"includes": [
|
|
2458
|
-
"
|
|
2458
|
+
"pkgs/uniswap/vite/**"
|
|
2459
2459
|
],
|
|
2460
2460
|
"linter": {
|
|
2461
2461
|
"enabled": false
|
|
@@ -2463,10 +2463,10 @@
|
|
|
2463
2463
|
},
|
|
2464
2464
|
{
|
|
2465
2465
|
"includes": [
|
|
2466
|
-
"
|
|
2467
|
-
"
|
|
2468
|
-
"
|
|
2469
|
-
"
|
|
2466
|
+
"pkgs/api/.eslintrc.js",
|
|
2467
|
+
"pkgs/api/codegen.ts",
|
|
2468
|
+
"pkgs/api/scripts/**",
|
|
2469
|
+
"pkgs/api/src/**/__generated__/**"
|
|
2470
2470
|
],
|
|
2471
2471
|
"linter": {
|
|
2472
2472
|
"enabled": false
|
|
@@ -2474,7 +2474,7 @@
|
|
|
2474
2474
|
},
|
|
2475
2475
|
{
|
|
2476
2476
|
"includes": [
|
|
2477
|
-
"
|
|
2477
|
+
"pkgs/api/src/clients/trading/api.json"
|
|
2478
2478
|
],
|
|
2479
2479
|
"formatter": {
|
|
2480
2480
|
"enabled": false
|
|
@@ -2482,7 +2482,7 @@
|
|
|
2482
2482
|
},
|
|
2483
2483
|
{
|
|
2484
2484
|
"includes": [
|
|
2485
|
-
"
|
|
2485
|
+
"pkgs/docker-image-builder/**"
|
|
2486
2486
|
],
|
|
2487
2487
|
"linter": {
|
|
2488
2488
|
"rules": {
|
|
@@ -2513,7 +2513,7 @@
|
|
|
2513
2513
|
"options": {
|
|
2514
2514
|
"paths": {
|
|
2515
2515
|
"utilities/src/telemetry/analytics/analytics": {
|
|
2516
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
2516
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
2517
2517
|
},
|
|
2518
2518
|
"utilities/src/telemetry/trace/Trace": {
|
|
2519
2519
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -2583,7 +2583,7 @@
|
|
|
2583
2583
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
2584
2584
|
},
|
|
2585
2585
|
"expo-haptics": {
|
|
2586
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
2586
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
2587
2587
|
},
|
|
2588
2588
|
"@uniswap/analytics": {
|
|
2589
2589
|
"importNames": [
|
|
@@ -2681,7 +2681,7 @@
|
|
|
2681
2681
|
"options": {
|
|
2682
2682
|
"paths": {
|
|
2683
2683
|
"utilities/src/telemetry/analytics/analytics": {
|
|
2684
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
2684
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
2685
2685
|
},
|
|
2686
2686
|
"utilities/src/telemetry/trace/Trace": {
|
|
2687
2687
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -2751,7 +2751,7 @@
|
|
|
2751
2751
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
2752
2752
|
},
|
|
2753
2753
|
"expo-haptics": {
|
|
2754
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
2754
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
2755
2755
|
},
|
|
2756
2756
|
"@uniswap/analytics": {
|
|
2757
2757
|
"importNames": [
|
|
@@ -2906,7 +2906,7 @@
|
|
|
2906
2906
|
"options": {
|
|
2907
2907
|
"paths": {
|
|
2908
2908
|
"utilities/src/telemetry/analytics/analytics": {
|
|
2909
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
2909
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
2910
2910
|
},
|
|
2911
2911
|
"utilities/src/telemetry/trace/Trace": {
|
|
2912
2912
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -2976,7 +2976,7 @@
|
|
|
2976
2976
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
2977
2977
|
},
|
|
2978
2978
|
"expo-haptics": {
|
|
2979
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
2979
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
2980
2980
|
},
|
|
2981
2981
|
"@uniswap/analytics": {
|
|
2982
2982
|
"importNames": [
|
|
@@ -3030,7 +3030,7 @@
|
|
|
3030
3030
|
"importNames": [
|
|
3031
3031
|
"UNIVERSE_CHAIN_INFO"
|
|
3032
3032
|
],
|
|
3033
|
-
"message": "Use useChainInfo or helpers in
|
|
3033
|
+
"message": "Use useChainInfo or helpers in pkgs/uniswap/src/features/chains/utils.ts when possible!"
|
|
3034
3034
|
}
|
|
3035
3035
|
},
|
|
3036
3036
|
"patterns": [
|
|
@@ -3097,11 +3097,11 @@
|
|
|
3097
3097
|
},
|
|
3098
3098
|
{
|
|
3099
3099
|
"includes": [
|
|
3100
|
-
"
|
|
3101
|
-
"!
|
|
3102
|
-
"!
|
|
3103
|
-
"!
|
|
3104
|
-
"!
|
|
3100
|
+
"pkgs/wallet/**",
|
|
3101
|
+
"!pkgs/wallet/**/*.test.ts",
|
|
3102
|
+
"!pkgs/wallet/**/*.test.tsx",
|
|
3103
|
+
"!pkgs/wallet/**/test/**",
|
|
3104
|
+
"!pkgs/wallet/**/tests/**"
|
|
3105
3105
|
],
|
|
3106
3106
|
"linter": {
|
|
3107
3107
|
"rules": {
|
|
@@ -3111,7 +3111,7 @@
|
|
|
3111
3111
|
"options": {
|
|
3112
3112
|
"paths": {
|
|
3113
3113
|
"utilities/src/telemetry/analytics/analytics": {
|
|
3114
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
3114
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
3115
3115
|
},
|
|
3116
3116
|
"utilities/src/telemetry/trace/Trace": {
|
|
3117
3117
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -3181,7 +3181,7 @@
|
|
|
3181
3181
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
3182
3182
|
},
|
|
3183
3183
|
"expo-haptics": {
|
|
3184
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
3184
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
3185
3185
|
},
|
|
3186
3186
|
"@uniswap/analytics": {
|
|
3187
3187
|
"importNames": [
|
|
@@ -3228,10 +3228,10 @@
|
|
|
3228
3228
|
},
|
|
3229
3229
|
{
|
|
3230
3230
|
"includes": [
|
|
3231
|
-
"
|
|
3232
|
-
"
|
|
3233
|
-
"
|
|
3234
|
-
"
|
|
3231
|
+
"pkgs/wallet/src/components/landing/elements/index.tsx",
|
|
3232
|
+
"pkgs/wallet/src/index.ts",
|
|
3233
|
+
"pkgs/wallet/src/state/index.ts",
|
|
3234
|
+
"pkgs/wallet/src/test/**"
|
|
3235
3235
|
],
|
|
3236
3236
|
"linter": {
|
|
3237
3237
|
"rules": {
|
|
@@ -3241,7 +3241,7 @@
|
|
|
3241
3241
|
"options": {
|
|
3242
3242
|
"paths": {
|
|
3243
3243
|
"utilities/src/telemetry/analytics/analytics": {
|
|
3244
|
-
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `
|
|
3244
|
+
"message": "Please only use this for initialization, tests, flushing, and internal usage. Otherwise use `pkgs/uniswap/src/features/telemetry`"
|
|
3245
3245
|
},
|
|
3246
3246
|
"utilities/src/telemetry/trace/Trace": {
|
|
3247
3247
|
"message": "Please use the Trace in 'uniswap/src/features/telemetry/Trace' for app level usage!"
|
|
@@ -3311,7 +3311,7 @@
|
|
|
3311
3311
|
"message": "Use our internal BottomSheetTextInput wrapper from /uniswap/src/components/modals/Modal."
|
|
3312
3312
|
},
|
|
3313
3313
|
"expo-haptics": {
|
|
3314
|
-
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from
|
|
3314
|
+
"message": "Use our internal HapticFeedback wrapper instead: import { HapticFeedback } from pkgs/uniswap/src/features/settings/useHapticFeedback/types"
|
|
3315
3315
|
},
|
|
3316
3316
|
"@uniswap/analytics": {
|
|
3317
3317
|
"importNames": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxfi/biome-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"private": false,
|
|
4
5
|
"description": "Shared Biome configuration for Lux Universe",
|
|
5
6
|
"devDependencies": {
|
|
6
7
|
"jsonc-parser": "3.2.0"
|
|
@@ -15,11 +16,6 @@
|
|
|
15
16
|
"nx": {
|
|
16
17
|
"includedScripts": []
|
|
17
18
|
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"biome",
|
|
20
|
-
"config",
|
|
21
|
-
"linting",
|
|
22
|
-
"formatting"
|
|
23
|
-
],
|
|
19
|
+
"keywords": ["biome", "config", "linting", "formatting"],
|
|
24
20
|
"license": "MIT"
|
|
25
21
|
}
|
package/src/processor.js
CHANGED
|
@@ -31,7 +31,7 @@ function processConfig(baseConfig, globalRules) {
|
|
|
31
31
|
|
|
32
32
|
// Second pass: process each override to resolve __INCLUDE_GLOBAL_VALUES__ markers
|
|
33
33
|
config.overrides = processedOverrides.map((override) =>
|
|
34
|
-
override.linter?.rules ? resolveIncludeGlobalValuesMarkers(override, globalRules) : override
|
|
34
|
+
override.linter?.rules ? resolveIncludeGlobalValuesMarkers(override, globalRules) : override,
|
|
35
35
|
)
|
|
36
36
|
} else if (config.overrides) {
|
|
37
37
|
throw new Error('`overrides` must be an array')
|
package/src/processor.test.js
CHANGED
|
@@ -78,7 +78,7 @@ describe('Biome Config Processor', () => {
|
|
|
78
78
|
group: ['sessionStorage/*'],
|
|
79
79
|
message: 'Please do not import from sessionStorage',
|
|
80
80
|
},
|
|
81
|
-
])
|
|
81
|
+
]),
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
// Should not include marker
|
|
@@ -329,7 +329,7 @@ describe('Biome Config Processor', () => {
|
|
|
329
329
|
|
|
330
330
|
// Original config should still have the marker
|
|
331
331
|
expect(
|
|
332
|
-
originalConfig.overrides[0].linter.rules.style.noRestrictedImports.options.paths.__INCLUDE_GLOBAL_VALUES__
|
|
332
|
+
originalConfig.overrides[0].linter.rules.style.noRestrictedImports.options.paths.__INCLUDE_GLOBAL_VALUES__,
|
|
333
333
|
).toBe(true)
|
|
334
334
|
})
|
|
335
335
|
})
|
package/src/universePackages.js
CHANGED
|
@@ -20,7 +20,7 @@ function detectUniversePackages() {
|
|
|
20
20
|
// Extract the package name without @luxfi/ prefix
|
|
21
21
|
const shortName = projectName.replace('@luxfi/', '')
|
|
22
22
|
|
|
23
|
-
// Extract directory name from root path (e.g., "
|
|
23
|
+
// Extract directory name from root path (e.g., "pkgs/api" -> "api")
|
|
24
24
|
const dir = path.basename(config.root)
|
|
25
25
|
|
|
26
26
|
universePackages.push({
|
|
@@ -94,10 +94,10 @@ function generateUniversePackageOverrides(universePackages, globalPatterns) {
|
|
|
94
94
|
|
|
95
95
|
const override = {
|
|
96
96
|
includes: [
|
|
97
|
-
`
|
|
98
|
-
`!
|
|
99
|
-
`!
|
|
100
|
-
`!
|
|
97
|
+
`pkgs/${pkg.dir}/**`,
|
|
98
|
+
`!pkgs/${pkg.dir}/.eslintrc.js`,
|
|
99
|
+
`!pkgs/${pkg.dir}/**/__generated__/**`,
|
|
100
|
+
`!pkgs/${pkg.dir}/scripts/**`,
|
|
101
101
|
],
|
|
102
102
|
linter: {
|
|
103
103
|
rules: {
|