matrix-org / matrix-org/matrix-js-sdk

Turn on `no-explicit-any`

Open
#2,115 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

T-Task
Dominant language
TypeScript
Stars
2.2k
Forks
704
Avg merge
1d 20h
Merged PRs (30d)
40

Description

https://github.com/matrix-org/matrix-react-sdk/blob/010cbadc8ecf9f15ade94d87950734c873ca6095/.eslintrc.js#L81-L82;

            // We disable this while we're transitioning
            "@typescript-eslint/no-explicit-any": "off",

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue points to .eslintrc.js lines 81-82 in matrix-react-sdk, where @typescript-eslint/no-explicit-any is disabled during a transition. First inspect the corresponding lint configuration in matrix-js-sdk and identify the transition scope. Done means the rule is enabled and the project's lint checks pass without the remaining violations.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, typescript
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.