microsoft / microsoft/TypeScript-Sublime-Plugin

How to disable type cheking for not ts files

Open
#744 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

Some of my projects use typescript, some not. But error messages I see across all project.

Type annotations can only be used in TypeScript files.

any

Will be better to check tsconfig file and only if it available — turn on plugin.
What do you think?

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

No file or test is named. Start by tracing how the plugin enables TypeScript checking for non-TypeScript files and how it detects tsconfig; done means projects without tsconfig no longer show TypeScript-only errors while TypeScript projects continue to be checked.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.