Skip to content

Revert Tracking component and related utils #1333

Revert Tracking component and related utils

Revert Tracking component and related utils #1333

GitHub Actions / ESLint failed Jan 29, 2025 in 0s

2 errors and 3 warnings

ESLint found 2 errors and 3 warnings

Annotations

Check failure on line 1 in packages/analytics-nextjs/src/components/Tracking/lib/getRecipientInfo.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

packages/analytics-nextjs/src/components/Tracking/lib/getRecipientInfo.ts#L1

There should be no empty line within import group (import/order)

Check failure on line 3 in packages/analytics-nextjs/src/components/Tracking/lib/getRecipientInfo.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

packages/analytics-nextjs/src/components/Tracking/lib/getRecipientInfo.ts#L3

`../../../lib/getApiUrl` import should occur before type import of `../../../types` (import/order)

Check warning on line 17 in packages/analytics-nextjs/src/Analytics.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

packages/analytics-nextjs/src/Analytics.ts#L17

Class Property name `_identity` must not have a leading underscore (@typescript-eslint/naming-convention)

Check warning on line 66 in packages/analytics-nextjs/src/Analytics.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

packages/analytics-nextjs/src/Analytics.ts#L66

Object Literal Property name `Segment.io` must match one of the following formats: snake_case, strictCamelCase, StrictPascalCase, UPPER_CASE (@typescript-eslint/naming-convention)

Check warning on line 18 in packages/analytics-nextjs/src/lib/getTrackingPermissions.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

packages/analytics-nextjs/src/lib/getTrackingPermissions.ts#L18

'CONSENT_TO_IDENTIFY' is deprecated. Please use `STRICT` instead (deprecation/deprecation)