mirror of
https://github.com/Unleash/unleash.git
synced 2026-09-10 06:05:47 +00:00
5ff54da9a5
`useTracking` now returns a callable tracker, so a call site holds one named function per journey: `trackX(action)`, `trackX.mutation(fn)`, `trackX.validationFailed()`. Every call site is converted; the old object return let callers choose between destructuring, holding, and renaming, which produced four shapes in a single PR when I was working with Claude. This rule will now be enforced and will be easy to follow. A Biome GritQL rule (`oss/tracking-shape.grit`) rejects destructuring the return value, so the shape is enforced by lint rather than review.
325 lines
21 KiB
JSON
325 lines
21 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"a11y": {
|
|
"useSemanticElements": "off",
|
|
"useKeyWithClickEvents": "off",
|
|
"noStaticElementInteractions": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnsafeOptionalChaining": "off",
|
|
"useExhaustiveDependencies": "off",
|
|
"noUnusedImports": "warn",
|
|
"useJsxKeyInIterable": "off",
|
|
"useHookAtTopLevel": "off",
|
|
"noUnusedFunctionParameters": "off",
|
|
"noUnusedVariables": "warn"
|
|
},
|
|
"complexity": {
|
|
"noBannedTypes": "off",
|
|
"noUselessConstructor": "off",
|
|
"useOptionalChain": "warn",
|
|
"noStaticOnlyClass": "off",
|
|
"noForEach": "off",
|
|
"noUselessFragments": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"noInferrableTypes": "off",
|
|
"noUnusedTemplateLiteral": "off",
|
|
"useSingleVarDeclarator": "off",
|
|
"noUselessElse": "off",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noExtraNonNullAssertion": "off",
|
|
"noRedeclare": "off",
|
|
"noPrototypeBuiltins": "off",
|
|
"noConfusingVoidType": "off",
|
|
"noArrayIndexKey": "off",
|
|
"noThenProperty": "off",
|
|
"noExportsInTest": "off",
|
|
"noNonNullAssertedOptionalChain": "off"
|
|
},
|
|
"performance": {
|
|
"noAccumulatingSpread": "off",
|
|
"noDelete": "off"
|
|
}
|
|
}
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "off" } } },
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"indentWidth": 4
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "always",
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "single",
|
|
"indentWidth": 4
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"indentWidth": 2
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"linter": {
|
|
"rules": {
|
|
"correctness": {
|
|
"useHookAtTopLevel": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["frontend/**"],
|
|
"linter": {
|
|
"rules": {
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "warn"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": [
|
|
"frontend/src/**",
|
|
"!frontend/src/component/common/AutocompleteField/**",
|
|
"!frontend/src/component/common/GeneralSelect/**",
|
|
"!frontend/src/component/common/SelectField/**",
|
|
"!frontend/src/component/common/select.tsx",
|
|
"!frontend/src/component/feature/StrategyTypes/FlexibleStrategy/StickinessSelect/**",
|
|
"!frontend/src/component/integrations/IntegrationForm/IntegrationMultiSelector/**",
|
|
"!frontend/src/component/feature/FeatureStrategy/FeatureStrategyConstraints/EditableConstraint/ConstraintOperatorSelect.tsx",
|
|
"!frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepSource/ConstraintOperatorSelect.tsx",
|
|
"!frontend/src/component/admin/users/AccessOverview/AccessOverviewSelect.tsx"
|
|
],
|
|
"plugins": ["./floating-label.grit"]
|
|
},
|
|
{
|
|
"includes": ["frontend/src/**"],
|
|
"plugins": ["./tracking-shape.grit"]
|
|
},
|
|
{
|
|
"includes": [
|
|
"frontend/src/component/InitialRedirect.tsx",
|
|
"frontend/src/component/admin/banners/BannerModal/BannerModal.tsx",
|
|
"frontend/src/component/admin/banners/BannersTable/BannersTable.tsx",
|
|
"frontend/src/component/admin/billing/BillingDashboard/BillingPlan/useOverageCost.ts",
|
|
"frontend/src/component/admin/groups/Group/EditGroupUsers/EditGroupUsers.tsx",
|
|
"frontend/src/component/admin/groups/Group/Group.tsx",
|
|
"frontend/src/component/admin/invoice/InvoiceList.tsx",
|
|
"frontend/src/component/admin/network/NetworkTraffic/NetworkTraffic.tsx",
|
|
"frontend/src/component/admin/network/NetworkTrafficUsage/hooks/useChartDataSelection.ts",
|
|
"frontend/src/component/admin/network/NetworkTrafficUsage/hooks/useStats.ts",
|
|
"frontend/src/component/admin/users/UsersList/AccessRequestsTable/AccessRequestsTable.tsx",
|
|
"frontend/src/component/admin/users/hooks/useAddUserForm.ts",
|
|
"frontend/src/component/admin/users/UsersList/UsersList.tsx",
|
|
"frontend/src/component/admin/users/UsersList/UsersListDeprecated.tsx",
|
|
"frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx",
|
|
"frontend/src/component/changeRequest/ChangeRequest/Changes/Change/EditChange.tsx",
|
|
"frontend/src/component/commandBar/RecentlyVisitedRecorder.tsx",
|
|
"frontend/src/component/changeRequest/ProjectChangeRequests/ChangeRequestsTabs/ChangeRequestsTabs.tsx",
|
|
"frontend/src/component/commandBar/useCommandBarRoutes.ts",
|
|
"frontend/src/component/archive/ArchiveTable/ArchiveTable.tsx",
|
|
"frontend/src/component/commandBar/CommandSearchFeatures.tsx",
|
|
"frontend/src/component/admin/roles/RoleForm/RolePermissionCategories/RolePermissionCategories.tsx",
|
|
"frontend/src/component/admin/roles/RoleForm/useRoleForm.ts",
|
|
"frontend/src/component/admin/roles/RoleModal/RoleModal.tsx",
|
|
"frontend/src/component/admin/roles/RolesTable/RolesTable.tsx",
|
|
"frontend/src/component/admin/serviceAccounts/ServiceAccountsTable/ServiceAccountModal/ServiceAccountModal.tsx",
|
|
"frontend/src/component/admin/serviceAccounts/ServiceAccountsTable/ServiceAccountModal/ServiceAccountTokens/ServiceAccountCreateTokenDialog/ServiceAccountCreateTokenDialog.tsx",
|
|
"frontend/src/component/admin/serviceAccounts/ServiceAccountsTable/ServiceAccountModal/ServiceAccountTokens/ServiceAccountTokens.tsx",
|
|
"frontend/src/component/admin/users/AccessOverview/AccessOverview.tsx",
|
|
"frontend/src/component/admin/users/AutoCreateDomainUsersToggle.tsx",
|
|
"frontend/src/component/admin/users/InactiveUsersList/InactiveUsersListDeprecated.tsx",
|
|
"frontend/src/component/admin/users/InactiveUsersList/InactiveUsersListBody.tsx",
|
|
"frontend/src/component/application/ApplicationChart.tsx",
|
|
"frontend/src/component/application/ApplicationOverview.tsx",
|
|
"frontend/src/component/commandBar/CommandBar.tsx",
|
|
"frontend/src/component/context/ContextList/ContextList/ContextList.tsx",
|
|
"frontend/src/component/context/hooks/useContextForm.ts",
|
|
"frontend/src/component/counters/ExploreCounters/ExploreCounterChart.tsx",
|
|
"frontend/src/component/counters/ExploreCounters/ExploreCounters.tsx",
|
|
"frontend/src/component/demo/Demo.tsx",
|
|
"frontend/src/component/demo/DemoSteps/DemoSteps.tsx",
|
|
"frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx",
|
|
"frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentDeleteDialog/EnvironmentDeleteDialog.tsx",
|
|
"frontend/src/component/environments/EnvironmentTable/EnvironmentTable.tsx",
|
|
"frontend/src/component/events/EventLog/EventLogFilters.tsx",
|
|
"frontend/src/component/events/EventTimeline/EventTimelineHeader/EventTimelineHeader.tsx",
|
|
"frontend/src/component/feature/Dependencies/AddDependencyDialogue.tsx",
|
|
"frontend/src/component/feature/FeatureStrategy/FeatureStrategyCreate/FeatureStrategyCreate.tsx",
|
|
"frontend/src/component/feature/FeatureStrategy/FeatureStrategyEdit/FeatureStrategyEdit.tsx",
|
|
"frontend/src/component/feature/FeatureStrategy/FeatureStrategyForm/FeatureStrategyForm.tsx",
|
|
"frontend/src/component/feature/FeatureStrategy/FeatureStrategyForm/StrategyFormBody.tsx",
|
|
"frontend/src/component/feature/FeatureToggleList/FeatureToggleListTable.tsx",
|
|
"frontend/src/component/feature/FeatureToggleList/FeaturesOverviewLifecycleFilters/FeaturesOverviewToggleFilters.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureExposureMetrics.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureImpactMetrics.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureMetricsHours/FeatureMetricsHours.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverview.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/EnvironmentAccordionBody.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/Safeguard.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyExecution/hooks/useCustomStrategyParameters.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyExecution/hooks/useStrategyParameters.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentHeader/EnvironmentHeader.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/ManageTagsDialog/ManageBulkTagsDialog.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/ManageTagsDialog/ManageTagsDialog.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestone/MilestoneTransitionDisplay.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/SafeguardForm/SafeguardForm.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/EnvironmentVariantsCard/EnvironmentVariantsTable/EnvironmentVariantsTable.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/EnvironmentVariantsModal/EnvironmentVariantsModal.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/EnvironmentVariantsModal/VariantForm/VariantForm.tsx",
|
|
"frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/FeatureEnvironmentVariants.tsx",
|
|
"frontend/src/component/feature/StrategyTypes/NewStrategyVariants.tsx",
|
|
"frontend/src/component/feature/StrategyTypes/StrategyVariants.tsx",
|
|
"frontend/src/component/feedback/FeedbackCESContext/FeedbackCESProvider.tsx",
|
|
"frontend/src/component/filter/Filters/Filters.tsx",
|
|
"frontend/src/component/impact-metrics/ImpactMetrics.tsx",
|
|
"frontend/src/component/impact-metrics/MultimetricChart/useChartPlotArea.ts",
|
|
"frontend/src/component/impact-metrics/hooks/useChartData.ts",
|
|
"frontend/src/component/impact-metrics/hooks/useChartFormState.ts",
|
|
"frontend/src/component/impact-metrics/hooks/useImpactMetricsState.ts",
|
|
"frontend/src/component/insights/InsightsFilters.tsx",
|
|
"frontend/src/component/insights/components/LifecycleChart/LifecycleChartComponent.tsx",
|
|
"frontend/src/component/insights/components/LineChart/LineChartComponent.tsx",
|
|
"frontend/src/component/insights/componentsChart/CreationArchiveChart/CreationArchiveChart.tsx",
|
|
"frontend/src/component/insights/componentsChart/MetricsSummaryChart/MetricsSummaryChart.tsx",
|
|
"frontend/src/component/insights/componentsChart/NewProductionFlagsChart/useNewProductionFlagsData.ts",
|
|
"frontend/src/component/insights/componentsChart/TimeToProductionChart/TimeToProductionChart.tsx",
|
|
"frontend/src/component/insights/componentsChart/UpdatesPerEnvironmentTypeChart/UpdatesPerEnvironmentTypeChart.tsx",
|
|
"frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx",
|
|
"frontend/src/component/insights/hooks/useFilledMetricsSummary.ts",
|
|
"frontend/src/component/insights/hooks/useGroupedProjectTrends.ts",
|
|
"frontend/src/component/insights/hooks/useInsightsData.ts",
|
|
"frontend/src/component/insights/hooks/usePlaceholderData.ts",
|
|
"frontend/src/component/insights/hooks/useProjectChartData.ts",
|
|
"frontend/src/component/integrations/IntegrationForm/IntegrationForm.tsx",
|
|
"frontend/src/component/integrations/IntegrationList/IntegrationCard/IntegrationCardMenu/IntegrationCardMenu.tsx",
|
|
"frontend/src/component/layout/Error/LayoutError.tsx",
|
|
"frontend/src/component/layout/MainLayout/AdminMenu/AdminNavigationItems.tsx",
|
|
"frontend/src/component/layout/MainLayout/NavigationSidebar/useNavigationMode.ts",
|
|
"frontend/src/component/onboarding/dialog/ConnectSdkDialog.tsx",
|
|
"frontend/src/component/personalDashboard/FlagMetricsChart.tsx",
|
|
"frontend/src/component/personalDashboard/PersonalDashboard.tsx",
|
|
"frontend/src/component/personalDashboard/WelcomeDialogProvider.tsx",
|
|
"frontend/src/component/personalDashboard/useDashboardState.ts",
|
|
"frontend/src/component/playground/Playground/AdvancedPlayground.tsx",
|
|
"frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/AdvancedPlaygroundResultsTable.tsx",
|
|
"frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable.tsx",
|
|
"frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx",
|
|
"frontend/src/component/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx",
|
|
"frontend/src/component/project/Project/CreateProject/CreateProjectForm/ConfigButtons/ChangeRequestTable.tsx",
|
|
"frontend/src/component/project/Project/CreateProject/CreateProjectForm/LegacyCreateProjectDialog.tsx",
|
|
"frontend/src/component/project/Project/Import/ImportModal.tsx",
|
|
"frontend/src/component/project/Project/Import/configure/FileDropZone.tsx",
|
|
"frontend/src/component/project/Project/Import/configure/ImportOptions.tsx",
|
|
"frontend/src/component/project/Project/Import/import/ImportStage.tsx",
|
|
"frontend/src/component/project/Project/Import/validate/ValidationStage.tsx",
|
|
"frontend/src/component/project/Project/PaginatedProjectFeatureToggles/ProjectFeatureToggles.tsx",
|
|
"frontend/src/component/project/Project/PaginatedProjectFeatureToggles/ProjectOverviewFilters.tsx",
|
|
"frontend/src/component/project/Project/Project.tsx",
|
|
"frontend/src/component/project/Project/ProjectDoraMetrics/ProjectDoraMetrics.tsx",
|
|
"frontend/src/component/project/Project/ProjectEnterpriseSettingsForm/ProjectEnterpriseSettingsForm.tsx",
|
|
"frontend/src/component/project/Project/ProjectFeatureToggles/FeatureToggleSwitch/useFeatureToggleSwitch.tsx",
|
|
"frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeaturesBatchActions/ArchiveButton.tsx",
|
|
"frontend/src/component/project/Project/ProjectSettings/ChangeRequestConfiguration/ChangeRequestTable.tsx",
|
|
"frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepActions/ProjectActionsActionItem.tsx",
|
|
"frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepSource/ProjectActionsFilterItem.tsx",
|
|
"frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/useProjectActionsForm.ts",
|
|
"frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsModal.tsx",
|
|
"frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsTable.tsx",
|
|
"frontend/src/component/project/Project/ProjectSettings/ProjectDefaultStrategySettings/ProjectEnvironment/ProjectEnvironmentDefaultStrategy/ProjectEnvironmentDefaultStrategy.tsx",
|
|
"frontend/src/component/project/Project/ProjectSettings/Settings/EditProject/UpdateEnterpriseSettings.tsx",
|
|
"frontend/src/component/project/ProjectAccess/ProjectAccessTable/ProjectAccessTable.tsx",
|
|
"frontend/src/component/project/ProjectApplications/ProjectApplications.tsx",
|
|
"frontend/src/component/project/ProjectEnvironment/EnvironmentHideDialog/EnvironmentHideDialog.tsx",
|
|
"frontend/src/component/project/ProjectEnvironment/EnvironmentHideDialog/ProjectEnvironmentTableSingle/ProjectEnvironmentTableSingle.tsx",
|
|
"frontend/src/component/project/ProjectEnvironment/ProjectEnvironment.tsx",
|
|
"frontend/src/component/project/ProjectList/ProjectList.tsx",
|
|
"frontend/src/component/project/ProjectList/ProjectsListTable/ProjectsListTable.tsx",
|
|
"frontend/src/component/providers/UnleashFlagProvider/UnleashFlagProvider.tsx",
|
|
"frontend/src/component/releases/ReleaseManagement/ReleasePlanTemplateCard/ReleasePlanTemplateCardActions.tsx",
|
|
"frontend/src/component/releases/ReleasePlanTemplate/TemplateForm/MilestoneList/MilestoneList.tsx",
|
|
"frontend/src/component/releases/hooks/useTemplateForm.ts",
|
|
"frontend/src/component/segments/hooks/useSegmentForm.ts",
|
|
"frontend/src/component/signals/SignalEndpointsModal/SignalEndpointsForm/SignalEndpointsTokens/SignalEndpointsTokens.tsx",
|
|
"frontend/src/component/signals/SignalEndpointsModal/SignalEndpointsForm/SignalEndpointsTokens/SignalEndpointsTokensCreateDialog.tsx",
|
|
"frontend/src/component/signals/SignalEndpointsModal/SignalEndpointsForm/useSignalEndpointsForm.ts",
|
|
"frontend/src/component/signals/SignalEndpointsModal/SignalEndpointsModal.tsx",
|
|
"frontend/src/component/signals/SignalEndpointsTable/SignalEndpointsTable.tsx",
|
|
"frontend/src/component/splash/SplashOverlay/ReleaseManagementSplash.tsx",
|
|
"frontend/src/component/splash/SplashPage/SplashPage.tsx",
|
|
"frontend/src/component/strategies/hooks/useStrategyForm.ts",
|
|
"frontend/src/component/user/Profile/PersonalAPITokensTab/CreatePersonalAPIToken/CreatePersonalAPIToken.tsx",
|
|
"frontend/src/component/user/Profile/PersonalAPITokensTab/CreatePersonalAPIToken/PersonalAPITokenForm/PersonalAPITokenForm.tsx",
|
|
"frontend/src/component/user/Profile/PersonalAPITokensTab/PersonalAPITokensTab.tsx",
|
|
"frontend/src/component/user/Profile/Profile.tsx",
|
|
"frontend/src/component/user/Profile/ProfileTab/ProfileTab.tsx",
|
|
"frontend/src/component/user/common/ResetPasswordForm/PasswordChecker.tsx",
|
|
"frontend/src/component/user/common/ResetPasswordForm/ResetPasswordForm.tsx",
|
|
"frontend/src/hooks/api/actions/useApi/useApi.ts",
|
|
"frontend/src/hooks/api/actions/useDependentFeaturesApi/useDependentFeaturesApi.ts",
|
|
"frontend/src/hooks/api/actions/useFavoriteFeaturesApi/useFavoriteFeaturesApi.ts",
|
|
"frontend/src/hooks/api/actions/useFavoriteProjectsApi/useFavoriteProjectsApi.ts",
|
|
"frontend/src/hooks/api/actions/useFeatureLinkApi/useFeatureLinkApi.ts",
|
|
"frontend/src/hooks/api/actions/useImpactMetricsApi/useImpactMetricsApi.ts",
|
|
"frontend/src/hooks/api/getters/useAddons/useAddons.ts",
|
|
"frontend/src/hooks/api/getters/useConstraintsValidation/useConstraintsValidation.ts",
|
|
"frontend/src/hooks/api/getters/useEventSearch/useEventSearch.ts",
|
|
"frontend/src/hooks/api/getters/useFeatureSearch/useFeatureSearch.ts",
|
|
"frontend/src/hooks/api/getters/useTrafficBundles/useTrafficBundles.ts",
|
|
"frontend/src/hooks/useChangeRequestAddStrategy.ts",
|
|
"frontend/src/hooks/useChangeRequestToggle.ts",
|
|
"frontend/src/hooks/useChangeRequestsEnabled.ts",
|
|
"frontend/src/hooks/useCollaborateData.tsx",
|
|
"frontend/src/hooks/useConditionallyHiddenColumns.ts",
|
|
"frontend/src/hooks/useDragItem.ts",
|
|
"frontend/src/hooks/useFormErrors.ts",
|
|
"frontend/src/hooks/useHighestPermissionChangeRequestEnvironment.ts",
|
|
"frontend/src/hooks/useLastViewedFlags.ts",
|
|
"frontend/src/hooks/usePagination.ts",
|
|
"frontend/src/hooks/usePersistentTableState.ts",
|
|
"frontend/src/hooks/useRecentlyVisited.ts"
|
|
],
|
|
"linter": {
|
|
"rules": {
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!**/node_modules",
|
|
"!**/docker",
|
|
"!**/bundle.js",
|
|
"!**/website",
|
|
"!**/setupJest.js",
|
|
"!**/dist",
|
|
"!**/build",
|
|
"!**/src/migrations/**/*.js",
|
|
"!**/src/test/examples/**/*.json",
|
|
"!**/.docusaurus",
|
|
"!**/coverage",
|
|
"!**/CHANGELOG.md",
|
|
"!package.json",
|
|
"!frontend/package.json",
|
|
"!src/migrations/package.json",
|
|
"!**/.vite"
|
|
]
|
|
}
|
|
}
|