typescript-eslint / typescript-eslint/examples

Feature: Add examples of mixed JS-and-TS linting

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: accepting prs
Dominant language
TypeScript
Stars
11
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Coming from https://github.com/typescript-eslint/typescript-eslint/issues/8777: it'd be nice to show examples of using us in projects that also have .js/.jsx/etc. files.

  • Both using typed linting in JS (i.e. // @ts-nocheck) and disabling it
  • For typed linting with a jsconfig.json and without (just defaulting to the tsconfig.json)

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

Start by reviewing the repository's existing examples and the linked typescript-eslint issue for the expected mixed JavaScript and TypeScript configurations. Add examples covering typed linting with and without jsconfig.json, plus disabling typed linting, and consider the requested @ts-nocheck case complete when each scenario is represented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.