influxdata / influxdata/ui

Library Maintenance: Fix typescript-eslint errors

Open
#5,556 0 comments 0 reactions 0 assignees View on GitHub
kind/tech-debt team/dumplings team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

Fixing #5532 required the turning off of several typescript rules, listed below.

Turn them back on and fix the errors they throw. Some will throw a significant amount of errors (on the order of more than 1,000) while others will throw dozens of errors.

```
@typescript-eslint/ban-types
@typescript-eslint/no-floating-promises
@typescript-eslint/no-misused-promises
@typescript-eslint/no-unsafe-argument
@typescript-eslint/no-unsafe-assignment
@typescript-eslint/no-unsafe-call
@typescript-eslint/no-unsafe-member-access
@typescript-eslint/no-unsafe-return
@typescript-eslint/prefer-as-const
@typescript-eslint/restrict-plus-operands
@typescript-eslint/restrict-template-expressions
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.