tsgolint: An Experimental Go-Powered Linter for TypeScript/JavaScript

This repository profile is provided by osrepos.com, an open source repository discovery platform.

tsgolint: An Experimental Go-Powered Linter for TypeScript/JavaScript

Summary

tsgolint is an experimental proof-of-concept linter for JavaScript and TypeScript, leveraging typescript-go and written in Go. It aims to explore significant performance improvements, demonstrating a 20-40x speedup over ESLint + typescript-eslint by using native parsing, direct TS AST usage, and parallel processing. While a prototype not under active development, it showcases the potential for faster typed linting.

Repository Information

Analyzed by OSRepos on April 14, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

tsgolint is an experimental proof-of-concept linter for JavaScript and TypeScript, developed by the typescript-eslint team. Written in Go and powered by the typescript-go project, its primary goal is to investigate new architectures and performance characteristics for linting. It serves as a prototype to explore how much faster linting could be by moving the linter to Go alongside typescript-go.

It's important to note that tsgolint is in its early stages of development, is not actively being worked on, and is not expected to be production-ready. However, it successfully prototypes a primitive linter engine, a rules tester, a source code fixer, and implements 40 type-aware typescript-eslint rules.

Installation

To build tsgolint from source, follow these steps:

git submodule update --init                       # init typescript-go submodule

cd typescript-go
git am --3way --no-gpg-sign ../patches/*.patch    # apply typescript-go patches
cd ..

go build -o tsgolint ./cmd/tsgolint

Examples

tsgolint has successfully prototyped the implementation of 40 type-aware rules from typescript-eslint. These rules cover various aspects of code quality and potential issues in TypeScript and JavaScript projects. For a complete list of implemented rules, please refer to the project's GitHub README. While a basic CLI is available, tsgolint primarily focuses on demonstrating the underlying performance benefits rather than offering a rich set of command-line features or editor integrations at this experimental stage.

Why Use tsgolint (as an experiment)

The most compelling aspect of tsgolint is its remarkable performance. Benchmarks indicate that tsgolint is 20-40 times faster than ESLint combined with typescript-eslint. This significant speedup is attributed to several key factors:

  • Native Speed Parsing and Type-Checking: Leveraging typescript-go, tsgolint benefits from native Go performance for parsing and type-checking JavaScript and TypeScript code.
  • Direct TS AST Usage: Unlike traditional setups that might involve conversions from TypeScript AST to ESTree AST, tsgolint directly uses the TypeScript AST in its rules, eliminating overhead.
  • Parallel Processing: tsgolint is designed to utilize all available CPU cores for parallel parsing, type-checking, and linting, further enhancing its speed.

It's crucial to remember that tsgolint is an experiment to explore these performance boundaries. It is not intended to divert significant development resources from typescript-eslint, which remains the primary focus for typed linting with ESLint. This project serves as a valuable research tool to understand the potential of Go-based linting solutions.

Links

Related repositories

Similar repositories that may be relevant next.

GoBooks: A Curated List of Essential Golang Books for All Skill Levels

GoBooks: A Curated List of Essential Golang Books for All Skill Levels

July 20, 2026

GoBooks is a highly popular GitHub repository offering a meticulously curated collection of Golang books, catering to developers from beginners to advanced practitioners. It serves as a comprehensive resource for finding the right learning materials on topics like concurrency, performance, and system design, making it easier to navigate the vast Go ecosystem.

GoGolangBooks
Zero: The AI Coding Agent for Your Local Terminal

Zero: The AI Coding Agent for Your Local Terminal

July 6, 2026

Zero is an innovative AI coding agent designed for your local terminal, offering powerful capabilities to inspect repositories, edit files, run commands, and utilize browser/terminal helpers. It provides durable local sessions while giving users full control over the AI model and permission levels. This tool empowers developers with a customizable and secure AI assistant directly within their development environment.

aiai-agentcli
no-mistakes: AI-Driven Git Proxy for Flawless Pull Requests

no-mistakes: AI-Driven Git Proxy for Flawless Pull Requests

June 30, 2026

no-mistakes is an innovative Git proxy that streamlines the pull request workflow by ensuring code quality before it reaches your remote. It uses an AI-driven validation pipeline in a disposable worktree, automatically applying safe fixes and escalating complex issues for human review. This tool helps developers maintain clean, high-quality codebases and open perfect PRs effortlessly.

GitAIDeveloper Tools
Gogcli: Google Workspace Management from Your Terminal

Gogcli: Google Workspace Management from Your Terminal

June 24, 2026

Gogcli is a powerful command-line interface for Google Workspace, allowing users to manage Gmail, Calendar, Drive, Docs, Sheets, and many other services directly from their terminal. It is designed for both interactive use and robust automation, providing predictable output, agent safety features, and support for multiple accounts.

gcalgcontactsgdrive

Source repository

Open the original repository on GitHub.

19 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️