Skip to content

fix(common): yarn check #446

fix(common): yarn check

fix(common): yarn check #446

GitHub Actions / Lint failed Jan 14, 2025

Errors 177, Warnings 16

Found 177 errors and 16 warnings

Annotations

Check failure on line 1 in blog/app/next.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/blog/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | /* eslint-disable */
  2 |
  3 | import { join } from 'path'

Check failure on line 1 in blog/app/sentry.client.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | // // This file configures the initialization of Sentry on the client.
  2 | // // The config you add here will be used whenever a users loads a page in their browser.
  3 | // // https://docs.sentry.io/platforms/javascript/guides/nextjs/

Check failure on line 1 in blog/app/sentry.edge.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | // // This file configures the initialization of Sentry for edge features (middleware, edge routes, and so on).
  2 | // // The config you add here will be used whenever one of the edge features is loaded.
  3 | // // Note that this config is unrelated to the Vercel Edge Runtime and is also required when running locally.

Check failure on line 1 in blog/app/sentry.server.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | // // This file configures the initialization of Sentry on the server.
  2 | // // The config you add here will be used whenever the server handles a request.
  3 | // // https://docs.sentry.io/platforms/javascript/guides/nextjs/

Check failure on line 1 in site/app/next.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/site/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | /* eslint-disable */
  2 |
  3 | import { join } from 'path'

Check failure on line 1 in site/app/sentry.client.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | // // This file configures the initialization of Sentry on the client.
  2 | // // The config you add here will be used whenever a users loads a page in their browser.
  3 | // // https://docs.sentry.io/platforms/javascript/guides/nextjs/

Check failure on line 1 in site/app/sentry.edge.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | // // This file configures the initialization of Sentry for edge features (middleware, edge routes, and so on).
  2 | // // The config you add here will be used whenever one of the edge features is loaded.
  3 | // // Note that this config is unrelated to the Vercel Edge Runtime and is also required when running locally.

Check failure on line 1 in site/app/sentry.server.config.js

See this annotation in the file changed.

@github-actions github-actions / Lint

(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.

Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
Raw output
  1 | // // This file configures the initialization of Sentry on the server.
  2 | // // The config you add here will be used whenever the server handles a request.
  3 | // // https://docs.sentry.io/platforms/javascript/guides/nextjs/

Check failure on line 59 in fragments/booking-fragment/src/booking.component.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-confusing-void-expression): Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function.

Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function.
Raw output
  56 |             </Layout>
  57 |             <Layout>
> 58 |               <Button variant='tertiary' size='round' onClick={() => setVisible(false)}>
     |                                                                      ^
  59 |                 <Box
  60 |                   width={46}
  61 |                   height={46}

Check failure on line 2 in fragments/booking-fragment/src/booking.interfaces.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-imports): All imports in the declaration are only used as types. Use `import type`.

All imports in the declaration are only used as types. Use `import type`.
Raw output
> 1 | import { getFragmentsData }      from '@globals/data'
    | ^
  2 | import { getAvailableRadiiData } from '@globals/data'
  3 | import { getCarBodiesData }      from '@globals/data'
  4 | import { getServicesData }       from '@globals/data'

Check failure on line 3 in fragments/booking-fragment/src/booking.interfaces.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-imports): All imports in the declaration are only used as types. Use `import type`.

All imports in the declaration are only used as types. Use `import type`.
Raw output
  1 | import { getFragmentsData }      from '@globals/data'
> 2 | import { getAvailableRadiiData } from '@globals/data'
    | ^
  3 | import { getCarBodiesData }      from '@globals/data'
  4 | import { getServicesData }       from '@globals/data'
  5 | import { getNavigationData }     from '@globals/data'

Check failure on line 4 in fragments/booking-fragment/src/booking.interfaces.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-imports): All imports in the declaration are only used as types. Use `import type`.

All imports in the declaration are only used as types. Use `import type`.
Raw output
  1 | import { getFragmentsData }      from '@globals/data'
  2 | import { getAvailableRadiiData } from '@globals/data'
> 3 | import { getCarBodiesData }      from '@globals/data'
    | ^
  4 | import { getServicesData }       from '@globals/data'
  5 | import { getNavigationData }     from '@globals/data'
  6 |

Check failure on line 5 in fragments/booking-fragment/src/booking.interfaces.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-imports): All imports in the declaration are only used as types. Use `import type`.

All imports in the declaration are only used as types. Use `import type`.
Raw output
  2 | import { getAvailableRadiiData } from '@globals/data'
  3 | import { getCarBodiesData }      from '@globals/data'
> 4 | import { getServicesData }       from '@globals/data'
    | ^
  5 | import { getNavigationData }     from '@globals/data'
  6 |
  7 | export interface BookingProps {

Check failure on line 6 in fragments/booking-fragment/src/booking.interfaces.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-imports): All imports in the declaration are only used as types. Use `import type`.

All imports in the declaration are only used as types. Use `import type`.
Raw output
  3 | import { getCarBodiesData }      from '@globals/data'
  4 | import { getServicesData }       from '@globals/data'
> 5 | import { getNavigationData }     from '@globals/data'
    | ^
  6 |
  7 | export interface BookingProps {
  8 |   visible: boolean

Check failure on line 3 in fragments/footer-fragment/src/index.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-exports): All exports in the declaration are only used as types. Use `export type`.

All exports in the declaration are only used as types. Use `export type`.
Raw output
  1 | export * from './footer-component.js'
> 2 | export * from './footer.interface.js'
    | ^
  3 |

Check failure on line 3 in fragments/navigation-fragment/src/index.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-exports): All exports in the declaration are only used as types. Use `export type`.

All exports in the declaration are only used as types. Use `export type`.
Raw output
  1 | export * from './navigation.component.js'
> 2 | export * from './navigation.interface.js'
    | ^
  3 |

Check failure on line 7 in fragments/root-layout-fragment/src/root-layout.providers.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/ban-ts-comment): Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 10 characters or longer.

Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 10 characters or longer.
Raw output
  4 | import React            from 'react'
  5 |
> 6 | // @ts-expect-error any types
    | ^
  7 | export const RootLayoutProviders = ({ messages, children }) => (
  8 |   <IntlProvider messages={messages} locale='ru' defaultLocale='ru'>
  9 |     {children}

Check failure on line 8 in fragments/root-layout-fragment/src/root-layout.providers.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/explicit-module-boundary-types): Object pattern argument should be typed.

Object pattern argument should be typed.
Raw output
   5 |
   6 | // @ts-expect-error any types
>  7 | export const RootLayoutProviders = ({ messages, children }) => (
     |                                     ^
   8 |   <IntlProvider messages={messages} locale='ru' defaultLocale='ru'>
   9 |     {children}
  10 |   </IntlProvider>

Check failure on line 8 in fragments/root-layout-fragment/src/root-layout.providers.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/explicit-function-return-type): Missing return type on function.

Missing return type on function.
Raw output
   5 |
   6 | // @ts-expect-error any types
>  7 | export const RootLayoutProviders = ({ messages, children }) => (
     |                                                             ^
   8 |   <IntlProvider messages={messages} locale='ru' defaultLocale='ru'>
   9 |     {children}
  10 |   </IntlProvider>

Check failure on line 8 in fragments/root-layout-fragment/src/root-layout.providers.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/explicit-module-boundary-types): Missing return type on function.

Missing return type on function.
Raw output
   5 |
   6 | // @ts-expect-error any types
>  7 | export const RootLayoutProviders = ({ messages, children }) => (
     |                                                             ^
   8 |   <IntlProvider messages={messages} locale='ru' defaultLocale='ru'>
   9 |     {children}
  10 |   </IntlProvider>

Check failure on line 7 in globals/data/src/index.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-exports): All exports in the declaration are only used as types. Use `export type`.

All exports in the declaration are only used as types. Use `export type`.
Raw output
  4 | export * from './mutations/index.js'
  5 | export * from './helpers/index.js'
> 6 | export * from './interfaces/index.js'
    | ^
  7 | export * from './getters/index.js'
  8 | export * from './validators/index.js'
  9 |

Check failure on line 3 in store/booking/src/index.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-exports): All exports in the declaration are only used as types. Use `export type`.

All exports in the declaration are only used as types. Use `export type`.
Raw output
  1 | export * from './store.constants.js'
> 2 | export * from './store.interfaces.js'
    | ^
  3 | export * from './store.vars.js'
  4 |

Check failure on line 2 in store/services/src/index.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/consistent-type-exports): All exports in the declaration are only used as types. Use `export type`.

All exports in the declaration are only used as types. Use `export type`.
Raw output
> 1 | export * from './store.interfaces.js'
    | ^
  2 | export * from './store.vars.js'
  3 |

Check failure on line 53 in ui/button/src/button.component.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(react/jsx-no-leaked-render): Potential leaked value that might cause unintentionally rendered values or rendering crashes

Potential leaked value that might cause unintentionally rendered values or rendering crashes
Raw output
  50 |       {...props}
  51 |     >
> 52 |       {icon && iconPlacement === IconPlacement.LEFT && icon}
     |        ^
  53 |       {children}
  54 |       {icon && iconPlacement === IconPlacement.RIGHT && icon}
  55 |     </button>

Check failure on line 55 in ui/button/src/button.component.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(react/jsx-no-leaked-render): Potential leaked value that might cause unintentionally rendered values or rendering crashes

Potential leaked value that might cause unintentionally rendered values or rendering crashes
Raw output
  52 |       {icon && iconPlacement === IconPlacement.LEFT && icon}
  53 |       {children}
> 54 |       {icon && iconPlacement === IconPlacement.RIGHT && icon}
     |        ^
  55 |     </button>
  56 |   )
  57 | })