kabisa/kudos-frontend

View on GitHub
src/support/testing/testDecorators.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Component definition is missing display name
Open

  Decorator: ({ Component, settings }) => (

For more information visit Source: http://eslint.org/docs/rules/

Component definition is missing display name
Open

  Decorator: ({ Component, settings }) => (

For more information visit Source: http://eslint.org/docs/rules/

Argument 'mocks' should be typed with a non-any type.
Open

  mocks?: any,

For more information visit Source: http://eslint.org/docs/rules/

Don't use object as a type. The object type is currently hard to use ([see this issue](https://github.com/microsoft/TypeScript/issues/21732)). Consider using Record<string unknown></string> instead, as it allows you to more easily inspect and use the keys.
Open

export const dataDecorator = <TSerialized extends object>(

For more information visit Source: http://eslint.org/docs/rules/

Component definition is missing display name
Open

  Decorator: ({ Component }) => (

For more information visit Source: http://eslint.org/docs/rules/

Component definition is missing display name
Open

  Decorator: ({ Component, settings }) => (

For more information visit Source: http://eslint.org/docs/rules/

There are no issues that match your filters.

Category
Status