awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
palantir avatar

palantir/tslintArchived

0
View on GitHub↗
5,907 stars·872 forks·TypeScript·Apache-2.0·13 viewspalantir.github.io/tslint↗

Tslint

TSLint is an extensible static analysis tool that checks TypeScript source files against a configurable set of lint rules. It scans code by walking the parsed TypeScript abstract syntax tree, applying rule objects to detect readability, maintainability, and functionality errors. The tool supports rule severity configuration, inline suppression through comment directives, and automatic attachment of fix objects for correcting violations.

The project provides a framework for developing custom lint rules and formatters, allowing teams to enforce project-specific coding conventions beyond the built-in rule set. It includes configuration preset extension through module resolution, enabling teams to share and inherit lint configurations across projects. TSLint integrates with editors, build systems, and CI pipelines, surfacing results inline during development or as part of automated builds.

The tool covers a broad range of code quality checks, including common mistake detection, consistent code style and formatting enforcement, and TypeScript-specific rule enforcement for type annotations, overloads, and namespace usage. It also supports JavaScript file linting with a separate rule set. Output formatting options include human-readable text, JSON, JUnit XML, Checkstyle XML, PMD XML, MSBuild format, TAP stream, and Azure DevOps logging commands, with the ability to write results to files or standard output.

Features

  • TypeScript Static Analysis - An extensible static analysis tool that checks TypeScript files for readability, maintainability, and functionality errors.
  • Custom Lint Rule Plugins - Provides a plugin API for developing custom lint rules and formatters beyond the built-in set.
  • Linting Configurations - Ships a configuration system that defines, extends, and shares lint rule configurations via preset inheritance.
  • Lint Rule AST Walkers - Walks the parsed TypeScript AST to detect rule violations by visiting nodes and applying pattern-matching logic.
  • TypeScript and JavaScript Linting - Applies a separate set of rules to JavaScript and JSX files, optionally mirroring the TypeScript rule configuration.
  • Static Analysis Rule Engines - Scans source code by matching each file against a set of configurable rule objects that inspect the AST for violations.
  • General Lint Rule Engines - Evaluates TypeScript files against built-in and custom rules with severity levels, inline suppression, and automatic fixes.
  • Static Code Analyzers - Scans TypeScript source code against configurable rules to catch errors and enforce coding standards.
  • Static Logic Error Detection - Scans TypeScript source files against a configurable set of rules to detect readability, maintainability, and functionality issues.
  • Code Formatting and Style - Applies rules for naming conventions, comment formats, import ordering, and other stylistic choices.
  • Automated Lint Fixes - Automatically corrects formatting and style violations detected during linting without manual intervention.
  • Fix Object Attachments - Attaches a replacement fix object to each detected failure, enabling automatic correction of violations during linting.
  • Per-Rule Configurations - Reads user-supplied parameters inside custom rules to make behavior configurable per project.
  • CI/CD Integrations - Surfaces lint results inside editors, build pipelines, and CI systems through multiple output formats.
  • Formatting Enforcement - Checks whitespace, indentation, line length, and punctuation rules to maintain a uniform visual layout in source files.
  • Custom Lint Rule Definitions - Loads user-defined or third-party lint rules from specified directories to extend available checks.
  • Base Configuration Extension - Inherits rule settings from built-in or custom configuration files using module resolution.
  • Configuration Inheritance - Resolves lint settings by merging a base configuration with overrides from user-defined files using module resolution.
  • Lint Result Formatters - Transforms lint results into multiple output formats by dispatching to separate formatter modules.
  • Auto-Fix Formatters - Applies automatic corrections to formatting and style violations detected during linting.
  • Common Bug Detection - Detects frequent mistakes such as unused promises, eval usage, and duplicate variable declarations.
  • Maintainability Rules - Applies rules on complexity, deprecation warnings, import organization, and variable mutability to keep codebases manageable.
  • Automatic Lint Fixes - Ships automatic correction of formatting and style violations detected during linting.
  • Lint Rule Presets - Applies bundled lint rule presets and composes rules from multiple plugins.
  • Lint Rule Toggles - Suppresses lint rules for specific lines or blocks using comment flags in source files.
  • TypeScript-Specific Rule Enforcement - Enforces TypeScript-specific rules for type annotations, overloads, and namespace usage.
  • Rule Suppression Comments - Parses comment flags in source files to enable or disable specific rules for individual lines or code sections.
  • Lint Rule Severity Levels - Assigns each lint rule a severity of error, warning, or off with a global default.
  • Build Tools - Extensible linter for code quality.

Star history

Star history chart for palantir/tslintStar history chart for palantir/tslint

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Tslint

Similar open-source projects, ranked by how many features they share with Tslint.
  • stylelint/stylelintstylelint avatar

    stylelint/stylelint

    11,484View on GitHub↗

    Stylelint is a static code analysis tool and linter for CSS and style-like languages. It identifies errors, enforces coding conventions, and operates as a PostCSS plugin to validate stylesheets during build pipelines. The project distinguishes itself through support for non-standard syntaxes, including preprocessor parsing for SCSS and Less, and the ability to extract and lint embedded styles from JavaScript, HTML, and template literals. It features an automated fixing system that programmatically corrects repairable styling violations to ensure consistency. The system provides a plugin arch

    JavaScript
    View on GitHub↗11,484
  • ansible/ansible-lintansible avatar

    ansible/ansible-lint

    3,876View on GitHub↗

    ansible-lint is a static code analysis tool and linter designed to identify syntax errors and best practice violations within Ansible playbooks and roles. It functions as a quality gate for automation pipelines, scanning configuration files and scripts without executing the code to ensure reliability and consistency. The project distinguishes itself by acting as an automated code formatter that can correct identified linting issues and reformat files to meet community standards. It also serves as a dependency manager, automatically detecting and installing required roles and collections from

    Pythonansibleansible-dev-toolsansible-lint
    View on GitHub↗3,876
  • jshint/jshintjshint avatar

    jshint/jshint

    9,064View on GitHub↗

    JSHint is a JavaScript static analysis tool and linter designed to detect errors and enforce coding standards. It functions as a syntax validator that scans source code to identify potential logic problems and programming mistakes before the code is executed. The tool provides a command line interface for analyzing files and directories. It supports the export of analysis results into standardized formats such as Checkstyle for integration with external build tools. Analysis is managed through a system of linting rule management and environment global configuration. This includes the ability

    JavaScript
    View on GitHub↗9,064
  • davidanson/markdownlintDavidAnson avatar

    DavidAnson/markdownlint

    5,855View on GitHub↗
    JavaScriptcommonmarklintmarkdown
    View on GitHub↗5,855
See all 30 alternatives to Tslint→

Frequently asked questions

What does palantir/tslint do?

TSLint is an extensible static analysis tool that checks TypeScript source files against a configurable set of lint rules. It scans code by walking the parsed TypeScript abstract syntax tree, applying rule objects to detect readability, maintainability, and functionality errors. The tool supports rule severity configuration, inline suppression through comment directives, and automatic attachment of fix objects for correcting violations.

What are the main features of palantir/tslint?

The main features of palantir/tslint are: TypeScript Static Analysis, Custom Lint Rule Plugins, Linting Configurations, Lint Rule AST Walkers, TypeScript and JavaScript Linting, Static Analysis Rule Engines, General Lint Rule Engines, Static Code Analyzers.

What are some open-source alternatives to palantir/tslint?

Open-source alternatives to palantir/tslint include: stylelint/stylelint — Stylelint is a static code analysis tool and linter for CSS and style-like languages. It identifies errors, enforces… ansible/ansible-lint — ansible-lint is a static code analysis tool and linter designed to identify syntax errors and best practice violations… jshint/jshint — JSHint is a JavaScript static analysis tool and linter designed to detect errors and enforce coding standards. It… davidanson/markdownlint. sindresorhus/xo — xo is a zero-config linting tool and ESLint wrapper that provides opinionated default rules for JavaScript and… jsx-eslint/eslint-plugin-react — This project is an ESLint plugin and static analysis tool designed to enforce best practices, prevent bugs, and…