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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ktlint avatar

ktlint/ktlint

0
View on GitHub↗
6,717 stars·525 forks·Kotlin·MIT·6 vuesktlint.github.io/ktlint↗

Ktlint

ktlint is a linter and code formatter for Kotlin that checks source files against a built-in set of style rules and automatically rewrites them to match those rules. It operates by walking the Kotlin abstract syntax tree, detecting violations, and applying transformations directly at the node level before regenerating the source code from the modified tree.

The project ships a curated default rule set that requires no configuration to enforce consistent formatting, and provides a command-line interface for running linting and formatting in batch mode. Its rule-set-based plugin architecture allows loading independent rule sets as plugins, each defining their own lint checks and formatting actions, while a reporter abstraction layer outputs results through pluggable reporters in plain text, JSON, or other formats.

Users can extend ktlint with custom rule sets and reporters to add or replace linting and formatting behavior, enabling enforcement of project-specific coding standards. The project covers both linting—checking code against built-in style rules and reporting violations—and automatic formatting of Kotlin source files to match those rules without manual effort.

Features

  • Kotlin Formatters - Formats Kotlin source files to match built-in style rules automatically.
  • Kotlin Linters - Checks Kotlin source files against built-in style rules and reports violations without configuration.
  • Linters - Checks Kotlin code against built-in style rules to catch violations and enforce conventions.
  • Source Code Rewriting - Transforms the AST directly to fix violations, then regenerates source code from the modified tree.
  • Configuration-Free Rule Sets - Ships a curated collection of style rules that require no configuration to enforce consistent formatting.
  • Plugin-Based Architectures - Loads independent rule sets as plugins that each define their own lint checks and formatting actions.
  • Syntax Traversal - Walks the Kotlin abstract syntax tree to detect style violations and apply node-level transformations.
  • Custom Lint Rule Plugins - Loads user-defined rule sets and reporters to add or replace linting and formatting behavior.
  • Command Line Interfaces - Provides a CLI that accepts file paths and options to run linting and formatting in batch mode.
  • Custom Rule Development - Extends the linter with user-defined rule sets and reporters to enforce project-specific coding standards.
  • Violation Reporters - Outputs results through pluggable reporters that format violations as plain text, JSON, or other formats.

Historique des stars

Graphique de l'historique des stars pour ktlint/ktlintGraphique de l'historique des stars pour ktlint/ktlint

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait ktlint/ktlint ?

ktlint is a linter and code formatter for Kotlin that checks source files against a built-in set of style rules and automatically rewrites them to match those rules. It operates by walking the Kotlin abstract syntax tree, detecting violations, and applying transformations directly at the node level before regenerating the source code from the modified tree.

Quelles sont les fonctionnalités principales de ktlint/ktlint ?

Les fonctionnalités principales de ktlint/ktlint sont : Kotlin Formatters, Kotlin Linters, Linters, Source Code Rewriting, Configuration-Free Rule Sets, Plugin-Based Architectures, Syntax Traversal, Custom Lint Rule Plugins.

Quelles sont les alternatives open-source à ktlint/ktlint ?

Les alternatives open-source à ktlint/ktlint incluent : checkstyle/checkstyle — Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best… pycqa/pylint — Pylint is a static code analysis tool for Python that checks source code for errors, coding standard violations, and… pylint-dev/pylint — Pylint is a static code analyzer for Python that scans source code for errors, coding standard violations, code… karma-runner/karma — Karma is a JavaScript test runner designed for executing test suites across multiple real web browsers to ensure… stylelint/stylelint — Stylelint is a static code analysis tool and linter for CSS and style-like languages. It identifies errors, enforces… xushengfeng/esearch — eSearch is a desktop tool that combines screen capture, image annotation, screen recording, optical character…

Alternatives open source à Ktlint

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Ktlint.
  • checkstyle/checkstyleAvatar de checkstyle

    checkstyle/checkstyle

    8,867Voir sur GitHub↗

    Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best practices. It functions as a code quality auditor and Javadoc validation tool, checking source code against configurable rulesets to ensure structural and stylistic consistency. The project allows for the creation of custom linting rules by extending a core API to inspect the abstract syntax tree. It further enables specialized validation through the use of XPath expressions to query the syntax tree for specific code patterns and violations. Capability areas include the enforcement

    Javacode-qualitycommand-line-toolhacktoberfest
    Voir sur GitHub↗8,867
  • pycqa/pylintAvatar de PyCQA

    PyCQA/pylint

    5,685Voir sur GitHub↗

    Pylint is a static code analysis tool for Python that checks source code for errors, coding standard violations, and code smells without executing the program. It parses code into an abstract syntax tree and walks the tree to detect issues, enforces configurable style rules and naming conventions, and identifies duplicate code blocks by comparing tokenised source sequences. The tool also includes an inference engine that deduces variable types by simulating code paths, enabling deeper analysis even in untyped code. What distinguishes Pylint is its plugin-based checker architecture, which allo

    Python
    Voir sur GitHub↗5,685
  • pylint-dev/pylintAvatar de pylint-dev

    pylint-dev/pylint

    5,685Voir sur GitHub↗

    Pylint is a static code analyzer for Python that scans source code for errors, coding standard violations, code smells, and type-related issues without executing the program. It functions as a plugin-based linter framework, allowing users to extend its analysis capabilities with custom or third-party checks for project-specific rules and framework support. The tool also includes a duplicate code detector that identifies identical or near-identical code blocks across a project to help reduce redundancy. Beyond its core linting functionality, Pylint can generate UML class and package diagrams f

    Pythonclosembercode-qualityhacktoberfest
    Voir sur GitHub↗5,685
  • karma-runner/karmaAvatar de karma-runner

    karma-runner/karma

    11,958Voir sur GitHub↗

    Karma is a JavaScript test runner designed for executing test suites across multiple real web browsers to ensure cross-browser compatibility. It functions as a browser-based execution system that launches browsers, captures console output, and provides a command line interface for running automated tests within continuous integration pipelines. The project utilizes a plugin architecture that allows for the integration of third-party launchers, reporters, and preprocessors. It employs an adapter-based framework to execute tests from various assertion libraries through a unified runner interfac

    JavaScript
    Voir sur GitHub↗11,958
  • Voir les 30 alternatives à Ktlint→