mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
242756708e
theme:lint only reported a total and exited 0, skipped whole files by name and never ran in CI. It now counts per file under src/ against scripts/theme-baseline.json, which only shrinks, like lint:rtl: the colour literals, arbitrary colour classes and numeric font sizes it already saw, plus palette classes (bg-gray-100, text-indigo-600, bg-white), raw text sizes (text-sm, text-[13px]) instead of the type tiers, z-index literals above z-50 instead of a step of the layering scale, and reads of the dark_mode setting. The file exemptions are gone; the map, PDF and brand files carry their count in the baseline instead. theme-lint-disable markers stay valid in a comment and are counted against scripts/theme-disable-baseline.json, like rtl-lint-disable in lint:rtl; a new one raises its file's entry by hand, where review sees it. The comment handling lint:rtl already had moves into scripts/lib/source.mjs so both read source the same way. The check runs in the client-quality job.
76 lines
3.4 KiB
JSON
76 lines
3.4 KiB
JSON
{
|
|
"components/Admin/GitHubPanel.tsx": 3,
|
|
"components/Admin/PluginPoiCategoryList.tsx": 1,
|
|
"components/Admin/useCategoryAdmin.ts": 1,
|
|
"components/Budget/CostsPanel.tsx": 1,
|
|
"components/Budget/CostsToolbar.tsx": 1,
|
|
"components/Collab/CollabNotesFilePreviewPortal.tsx": 3,
|
|
"components/Collections/AddPlaceToCollectionModal.tsx": 1,
|
|
"components/Collections/BulkAssignLabelModal.tsx": 1,
|
|
"components/Collections/CollectionPicker.tsx": 1,
|
|
"components/Collections/ImportCollectionModal.tsx": 1,
|
|
"components/Collections/MoveToListModal.tsx": 1,
|
|
"components/Collections/SaveTripPlacesToListModal.tsx": 1,
|
|
"components/Dawarich/DawarichAtlasSidePanel.tsx": 1,
|
|
"components/Files/FileManagerImageLightbox.tsx": 1,
|
|
"components/Files/FileManagerRow.tsx": 3,
|
|
"components/Files/FileManagerToolbar.tsx": 1,
|
|
"components/Help/HelpNav.tsx": 1,
|
|
"components/Journey/journeyPhotoLayer.ts": 2,
|
|
"components/Map/DawarichTrailLayer.tsx": 1,
|
|
"components/Map/dawarichTrail.ts": 10,
|
|
"components/Map/useDawarichTrailGL.ts": 1,
|
|
"components/Packing/PackingListPanelItemRow.tsx": 1,
|
|
"components/Planner/DayReorderPopup.tsx": 1,
|
|
"components/Planner/bookings/bookingsModel.ts": 1,
|
|
"components/Planner/bookings/transitParts.tsx": 1,
|
|
"components/Planner/usePlaceForm.ts": 1,
|
|
"components/Roadtrip/RangeStrip.tsx": 1,
|
|
"components/Roadtrip/RoadtripAlternativesBar.tsx": 1,
|
|
"components/Roadtrip/RoadtripCategoryPicker.tsx": 2,
|
|
"components/Roadtrip/RoadtripCorridorPanel.tsx": 3,
|
|
"components/Roadtrip/RoadtripSidebarStopRows.tsx": 4,
|
|
"components/Roadtrip/RoadtripStopPopup.tsx": 1,
|
|
"components/Roadtrip/RoadtripTrackModal.tsx": 1,
|
|
"components/Roadtrip/StopKindPicker.tsx": 2,
|
|
"components/Roadtrip/dayColors.ts": 8,
|
|
"components/Roadtrip/nightBookend.ts": 1,
|
|
"components/Roadtrip/stopKinds.ts": 1,
|
|
"components/Settings/AboutTab.tsx": 3,
|
|
"components/Settings/AccountTab.tsx": 2,
|
|
"components/Settings/AppearanceSettingsTab.tsx": 1,
|
|
"components/Settings/PasskeysSection.tsx": 1,
|
|
"components/Studio/BookSheetsView.tsx": 1,
|
|
"components/Studio/SpreadView.tsx": 2,
|
|
"components/Studio/StudioElementsPanel.tsx": 2,
|
|
"components/Studio/StudioSwatches.tsx": 1,
|
|
"components/Studio/TravelElements.tsx": 6,
|
|
"components/Studio/autoLayout.ts": 50,
|
|
"components/Studio/peerColour.ts": 1,
|
|
"components/Studio/printSheets.ts": 4,
|
|
"components/Trips/TripMemberAvatar.tsx": 2,
|
|
"components/Vacay/VacayPersons.tsx": 1,
|
|
"components/shared/DialogShell.tsx": 2,
|
|
"components/shared/PasswordChecklist.tsx": 2,
|
|
"mobile/components/MSheet.tsx": 1,
|
|
"mobile/screens/atlas/MAtlas.tsx": 1,
|
|
"mobile/screens/atlas/MAtlasCountryPopup.tsx": 2,
|
|
"mobile/screens/atlas/MAtlasSearch.tsx": 1,
|
|
"mobile/screens/collections/MCollEditSheet.tsx": 2,
|
|
"mobile/screens/collections/MCollPlaceSheet.tsx": 2,
|
|
"mobile/screens/collections/MCollShareSheet.tsx": 1,
|
|
"mobile/screens/collections/collectionsMobileModel.ts": 15,
|
|
"mobile/screens/dashboard/MDashboard.tsx": 3,
|
|
"mobile/screens/journey/MJourney.tsx": 2,
|
|
"mobile/screens/trip/roadtrip/MRoadtripRows.tsx": 2,
|
|
"mobile/screens/trip/roadtrip/MRtAlternativesBar.tsx": 1,
|
|
"mobile/screens/trip/roadtrip/MRtCorridorSheet.tsx": 1,
|
|
"mobile/screens/trip/roadtrip/MRtKindSheet.tsx": 1,
|
|
"mobile/screens/trip/roadtrip/MRtStopSheet.tsx": 1,
|
|
"mobile/screens/trip/sheets/MCostSheet.tsx": 1,
|
|
"pages/AtlasPage.tsx": 1,
|
|
"pages/admin/AdminUserModals.tsx": 1,
|
|
"pages/sharedTrip/SharedChrome.tsx": 4,
|
|
"pages/sharedTrip/SharedMap.tsx": 2
|
|
}
|