microsoft / microsoft/DefinitelyTyped-tools

Enable parserOptions.allowAutomaticSingleRunInference

Open
#890 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
423
Forks
237
Avg merge
18h 18m
Merged PRs (30d)
11

Description

Coming over from https://twitter.com/andhaveaniceday/status/1738986013320794313: typescript-eslint has a relatively undocumented allowAutomaticSingleRunInference feature that in many cases speeds up single-run linting. That includes CI.

Because https://github.com/eslint/rfcs/pull/102 wasn't accepted (😞) and one last bug with it has yet to be explained (https://github.com/typescript-eslint/typescript-eslint/issues/3851), we've been cautious to enable it by default in typescript-eslint. But as @jakebailey noted, [DT doesn't] have project references and it's all single run outside of the editor.

Contributor guide

No contributing guide indexed for this repository

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

Search the repository for its ESLint and parserOptions configuration, then inspect how linting is run in CI. Enable allowAutomaticSingleRunInference in the relevant configuration and verify that the CI lint run completes successfully with the expected single-run behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, typescript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.