Skip to content

M2-5381: Add initial set of linting rules for mobile repository #8

M2-5381: Add initial set of linting rules for mobile repository

M2-5381: Add initial set of linting rules for mobile repository #8

GitHub Actions / ESLint succeeded Feb 22, 2024 in 0s

985 warnings

ESLint found 985 warnings

Annotations

Check warning on line 4 in assetsTransformer.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

assetsTransformer.js#L4

'config' is defined but never used. Allowed unused args must match /^_/u (unused-imports/no-unused-vars)

Check warning on line 4 in assetsTransformer.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

assetsTransformer.js#L4

'options' is defined but never used. Allowed unused args must match /^_/u (unused-imports/no-unused-vars)

Check warning on line 22 in index.js

See this annotation in the file changed.

@github-actions github-actions / ESLint

index.js#L22

'isHeadless' is missing in props validation (react/prop-types)

Check warning on line 17 in src/app/index.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/index.tsx#L17

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)

Check warning on line 9 in src/app/ui/AppProvider/AnalyticsProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/AnalyticsProvider.tsx#L9

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)

Check warning on line 35 in src/app/ui/AppProvider/ReactQueryProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReactQueryProvider.tsx#L35

Expected '!==' and instead saw '!=' (eqeqeq)

Check warning on line 44 in src/app/ui/AppProvider/ReactQueryProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReactQueryProvider.tsx#L44

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)

Check warning on line 50 in src/app/ui/AppProvider/ReactQueryProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReactQueryProvider.tsx#L50

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)

Check warning on line 59 in src/app/ui/AppProvider/ReactQueryProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReactQueryProvider.tsx#L59

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)

Check warning on line 62 in src/app/ui/AppProvider/ReactQueryProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReactQueryProvider.tsx#L62

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)

Check warning on line 26 in src/app/ui/AppProvider/ReduxProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReduxProvider.tsx#L26

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check warning on line 37 in src/app/ui/AppProvider/ReduxProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReduxProvider.tsx#L37

Unsafe argument of type `any` assigned to a parameter of type `CombinedState<{ identity: InitialState; applets: InitialState; streaming: StreamingState; }> | undefined` (@typescript-eslint/no-unsafe-argument)

Check warning on line 50 in src/app/ui/AppProvider/ReduxProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReduxProvider.tsx#L50

Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)

Check warning on line 50 in src/app/ui/AppProvider/ReduxProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReduxProvider.tsx#L50

Unsafe member access .default on an `any` value (@typescript-eslint/no-unsafe-member-access)

Check warning on line 51 in src/app/ui/AppProvider/ReduxProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReduxProvider.tsx#L51

Unsafe argument of type `any` assigned to a parameter of type `ThunkMiddleware<CombinedState<{ identity: InitialState; applets: InitialState; streaming: StreamingState; }>, AnyAction, undefined>` (@typescript-eslint/no-unsafe-argument)

Check warning on line 51 in src/app/ui/AppProvider/ReduxProvider.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/app/ui/AppProvider/ReduxProvider.tsx#L51

Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)

Check warning on line 113 in src/entities/abTrail/ui/AbCanvas.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbCanvas.tsx#L113

Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)

Check warning on line 151 in src/entities/abTrail/ui/AbCanvas.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbCanvas.tsx#L151

Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)

Check warning on line 152 in src/entities/abTrail/ui/AbCanvas.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbCanvas.tsx#L152

Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)

Check warning on line 180 in src/entities/abTrail/ui/AbCanvas.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbCanvas.tsx#L180

Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)

Check warning on line 180 in src/entities/abTrail/ui/AbCanvas.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbCanvas.tsx#L180

Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)

Check warning on line 378 in src/entities/abTrail/ui/AbCanvas.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbCanvas.tsx#L378

Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)

Check warning on line 38 in src/entities/abTrail/ui/AbShapes.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbShapes.tsx#L38

Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)

Check warning on line 44 in src/entities/abTrail/ui/AbShapes.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbShapes.tsx#L44

Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)

Check warning on line 46 in src/entities/abTrail/ui/AbShapes.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/entities/abTrail/ui/AbShapes.tsx#L46

Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)