Skip to content

Enable eslint rules #153

Description

@Alessandro100

In the typescript 6 upgrade there was also an update to eslint and the packages we chose to enforce rules in our project. With AI being popular, these rules are more important than ever to ensure good code quality with quick checks. Enable the following rules and fix the issues associated with them

react-hooks/rules-of-hooks
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/no-misused-promises': 'off',

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtShortcuts, workarounds, or code that needs refactoring or cleanup

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions