Skip to content

Enable eslint rules #153

Open
0 of 4 issues completed
Open

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 more relevant, 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',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions