# Code style linters

> AI-ranked search results for `code style standards` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 113 total matches; showing the top 30.

Explore on the web: https://awesome-repositories.com/q/code-style-standards

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/code-style-standards).**

## Results

- [psf/black](https://awesome-repositories.com/repository/psf-black.md) (41,578 ⭐) — This project is an uncompromising, deterministic code formatter for Python. It functions by parsing source code into an abstract syntax tree and regenerating it according to a rigid, opinionated set of style rules. By automating the formatting process, it eliminates manual style debates and configuration overhead, ensuring that code remains consistent across entire projects regardless of the original input.

The tool distinguishes itself through its focus on speed and seamless integration into development workflows. It utilizes content-based file caching and parallel processing to maintain hig
- [prettier/prettier](https://awesome-repositories.com/repository/prettier-prettier.md) (52,088 ⭐) — Prettier is an opinionated code formatter that parses source code and reprints it from scratch to enforce a consistent, project-wide visual style. By transforming code into an abstract syntax tree and applying a recursive document printing process, it eliminates manual style debates and ensures that all source files adhere to a unified appearance.

The project is distinguished by its extensible, plugin-based architecture, which decouples language-specific parsing logic from the core engine. This modular design allows for uniform style enforcement across diverse programming languages and comple
- [mgechev/revive](https://awesome-repositories.com/repository/mgechev-revive.md) (5,524 ⭐) — Revive is a configurable static analysis linter and code quality tool for Go. It analyzes source code to detect common coding mistakes, identify style violations, and enforce language standards without executing the program.

The project functions as both a command line tool and an embeddable analysis engine. This allows the core linting logic to be integrated as a library into other Go applications for programmatic code inspection.

The tool supports custom rule sets and severity levels managed through a structured configuration file. It provides capabilities for suppressing specific warnings
- [astral-sh/ruff](https://awesome-repositories.com/repository/astral-sh-ruff.md) (48,177 ⭐) — Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects.

The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases
- [millionco/react-doctor](https://awesome-repositories.com/repository/millionco-react-doctor.md) (12,769 ⭐) — React Doctor is a static analysis tool for React codebases designed to identify security, performance, and architectural issues. It functions as a codebase health diagnostic engine that produces numeric health scores and structured diagnostics to improve maintainability.

The tool features an incremental code scanner that evaluates only the files changed between branches or staged in the working tree to provide fast feedback. It is designed to operate as a quality gate within CI pipelines, allowing for the enforcement of codebase health standards by failing builds on critical errors.

The anal
- [rust-lang/rustfmt](https://awesome-repositories.com/repository/rust-lang-rustfmt.md) (6,747 ⭐) — rustfmt is a Rust code formatter that operates as a Cargo subcommand, applying consistent formatting to Rust source files according to official style guidelines. It parses source code into a syntax tree, applies formatting rules to tree nodes, and pretty-prints the result back to text, with support for TOML-driven configuration that allows per-project style customization.

The formatter is edition-aware, automatically selecting formatting rules based on the Rust edition specified in the project, and supports a style edition override that decouples formatting rules from the Rust edition used fo
- [htmlhint/htmlhint](https://awesome-repositories.com/repository/htmlhint-htmlhint.md) (3,321 ⭐) — HTMLHint is an HTML linter and static analysis tool designed to identify structural errors and syntax violations in source code. It functions as a configurable validator that scans local files and remote URLs to detect malformed tags, duplicate IDs, and document structure inconsistencies.

The tool serves as an accessibility auditor, verifying that web elements include necessary labels and alternative text for images. It further distinguishes itself by enforcing web document compliance, checking for the presence of doctypes, language attributes, and head metadata.

The project covers a broad r
- [palantir/tslint](https://awesome-repositories.com/repository/palantir-tslint.md) (5,907 ⭐) — 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 bui
- [brigade/scss-lint](https://awesome-repositories.com/repository/brigade-scss-lint.md) (3,668 ⭐) — scss-lint is a static analysis tool and configurable style validator for SCSS stylesheets. It identifies syntax errors and enforces coding style consistency in CSS preprocessor files before they are compiled.

The project provides an extensibility system for loading custom linting rules from local directories or external libraries. It allows for the definition of project-specific style standards and supports the creation of baseline configurations to facilitate incremental code cleanup.

The tool includes capabilities for source control management hook integration and source preprocessing via
- [csslint/csslint](https://awesome-repositories.com/repository/csslint-csslint.md) (4,805 ⭐) — This project is a CSS linter and static analysis tool designed to identify syntax errors, logic flaws, and problematic patterns in Cascading Stylesheets. It functions as a command line validator that verifies code quality and enforces consistent styling and coding standards without requiring a web browser.

The analyzer distinguishes itself by incorporating web accessibility auditing to detect patterns that hinder users with disabilities. It also performs browser compatibility checking to identify non-standard hacks and missing vendor prefixes, and provides performance optimization analysis to
- [xojs/xo](https://awesome-repositories.com/repository/xojs-xo.md) (7,977 ⭐) — xo is a zero-configuration linting tool for JavaScript and TypeScript. It functions as a wrapper for the ESLint engine, providing a set of strict default rules and static analysis to enforce professional coding standards without requiring manual configuration files.

The tool distinguishes itself by providing a zero-config runtime that automatically determines parser settings and linting rules at execution time. It includes a code style formatter to standardize indentation and syntax across all project files.

The project covers automated error correction and source code formatting to eliminat
- [coala/coala](https://awesome-repositories.com/repository/coala-coala.md) (3,588 ⭐) — coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.
- [standard/standard](https://awesome-repositories.com/repository/standard-standard.md) (29,431 ⭐) — Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style guide. It functions as a static code analyzer that scans source code for style violations and potential errors without executing the program.

The project provides an automatic code fixer that rewrites source code to resolve formatting issues and enforce syntax consistency. It implements a standardized set of rules for JavaScript formatting and syntax to ensure a uniform appearance across different projects.

The system covers a wide range of static analysis capabilities, includi
- [eslint/eslint](https://awesome-repositories.com/repository/eslint-eslint.md) (27,349 ⭐) — This project is a static analysis engine designed to identify patterns, enforce coding standards, and automate code quality improvements in software projects. By parsing source code into structured abstract syntax trees, it enables deep programmatic inspection and the automated remediation of identified programming issues.

The engine functions as a pluggable linting framework, allowing developers to extend its core capabilities through a modular architecture. Users can inject custom rules, parsers, and processors to support non-standard file formats or domain-specific logic. This extensibilit
- [phan/phan](https://awesome-repositories.com/repository/phan-phan.md) (5,617 ⭐) — Phan is a static analyzer and type checker for PHP that identifies bugs and type incompatibilities without executing the code. It serves as a quality gate for continuous integration pipelines and a tool for verifying type safety, specifically checking union types, generics, and array shapes.

The project is distinguished by its use of a background daemon and Language Server Protocol implementation, which provide real-time diagnostics and navigation within editors. It also features a baseline-based suppression system that allows developers to record existing errors in a snapshot file to focus e
- [pycqa/pylint](https://awesome-repositories.com/repository/pycqa-pylint.md) (5,685 ⭐) — 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
- [oxc-project/oxc](https://awesome-repositories.com/repository/oxc-project-oxc.md) (21,675 ⭐) — Oxc is a high-performance toolchain designed for the analysis, linting, formatting, and transformation of JavaScript and TypeScript codebases. It functions as a comprehensive static analysis engine and compiler-based utility, providing the infrastructure necessary to parse source code into high-performance abstract syntax trees and map complex module dependency graphs across entire projects.

The project distinguishes itself through its use of multi-core parallel processing to maximize throughput during intensive tasks like linting and minification. It offers deep, type-aware static analysis t
- [bufbuild/buf](https://awesome-repositories.com/repository/bufbuild-buf.md) (11,211 ⭐) — Buf is a toolchain for managing the full lifecycle of Protocol Buffers schemas. It provides a set of tools for schema governance, including linting to enforce style guides, a breaking change detector to ensure backward compatibility, and a system for producing language-specific source code via local or remote plugins.

The project distinguishes itself through a remote schema registry that centralizes the hosting, versioning, and distribution of Protocol Buffers modules. This registry allows for server-side enforcement of governance policies, such as blocking updates that introduce backward-inc
- [jshint/jshint](https://awesome-repositories.com/repository/jshint-jshint.md) (9,064 ⭐) — 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
- [koalaman/shellcheck](https://awesome-repositories.com/repository/koalaman-shellcheck.md) (39,574 ⭐) — This project is a static analysis tool and linter designed to improve the quality, reliability, and portability of shell scripts. By performing deep structural analysis, it identifies common programming pitfalls, syntax errors, and security vulnerabilities before scripts are executed. It functions as an automated code reviewer that enforces best practices and helps developers maintain consistent, robust code across different operating environments.

The tool distinguishes itself through its dialect-aware grammar resolution, which adapts its parsing logic based on the specific shell interpreter
- [rubocop/rubocop](https://awesome-repositories.com/repository/rubocop-rubocop.md) (12,879 ⭐) — RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It identifies style violations, smells, and errors in source code to ensure consistency and maintainability based on community guidelines.

The project provides automatic source code formatting to rewrite files according to defined stylistic standards. It also functions as a language server protocol implementation, surfacing violations and suggested fixes directly within code editors.

The tool covers code complexity monitoring to track the size of classes and methods and employs non-inclusive language detection to
- [feross/standard](https://awesome-repositories.com/repository/feross-standard.md) (29,431 ⭐) — Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide that enforces consistent coding rules and identifies programming errors without requiring manual configuration files.

The tool distinguishes itself by providing an automatic code fixer that scans source files to correct style violations and ensure a uniform codebase. It implements a predefined rule set to eliminate the need for project-specific configuration.

The project covers a broad range of static analysis capabilities, including support for experimental language syntax a
- [checkstyle/checkstyle](https://awesome-repositories.com/repository/checkstyle-checkstyle.md) (8,867 ⭐) — 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
- [stylelint/stylelint](https://awesome-repositories.com/repository/stylelint-stylelint.md) (11,484 ⭐) — 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
- [jscs-dev/node-jscs](https://awesome-repositories.com/repository/jscs-dev-node-jscs.md) (4,936 ⭐) — node-jscs is a JavaScript linter and code style checker designed to analyze source code and enforce consistent coding standards. It functions as a static analysis tool that identifies patterns in JavaScript code to ensure adherence to defined style guides.

The project provides capabilities for both JavaScript code linting and automated code formatting. It can check source code for style violations and automatically correct those errors to align the codebase with a specified set of formatting rules.
- [pycqa/flake8](https://awesome-repositories.com/repository/pycqa-flake8.md) (3,760 ⭐) — Flake8 is a Python style checker and static analysis tool that identifies programmatic errors and violations of coding standards in source files. It serves as a linting wrapper that aggregates multiple checkers into a single interface, functioning as a pluggable framework for Python code analysis.

The tool incorporates a cyclomatic complexity analyzer to measure the logical complexity of functions and identify code that requires refactoring. It is designed for extensibility, allowing the integration of custom plugins and rules through defined entry points.

The system provides capabilities fo
- [slevomat/coding-standard](https://awesome-repositories.com/repository/slevomat-coding-standard.md) (1,476 ⭐) — Slevomat Coding Standard is a collection of rules for the PHP_CodeSniffer static analysis tool. It provides a comprehensive set of checks designed to enforce consistent coding styles and identify potential issues within PHP codebases.

The project distinguishes itself by offering a wide array of specialized sniffs that go beyond standard formatting requirements. These rules focus on improving code quality, enforcing strict typing, and ensuring adherence to specific architectural patterns, allowing developers to maintain high levels of consistency across complex projects.

The library covers a
- [wordpress/wordpress-coding-standards](https://awesome-repositories.com/repository/wordpress-wordpress-coding-standards.md) (2,757 ⭐) — WordPress Coding Standards is a collection of rules for the PHP CodeSniffer engine designed to enforce consistent coding conventions and best practices within PHP projects. It functions as a specialized static analysis tool that scans source code to identify style violations, security vulnerabilities, and potential bugs before execution. By integrating into development workflows, it ensures that code adheres to official project conventions, maintaining readability and consistency across large-scale plugin and theme development.

The project distinguishes itself through deep domain-specific val
- [standard/semistandard](https://awesome-repositories.com/repository/standard-semistandard.md) (1,415 ⭐) — Semistandard is a static analysis tool and automated code formatter designed to enforce consistent JavaScript syntax and formatting standards across a codebase. It functions as a linter that identifies deviations from established style rules and provides automated corrections to resolve formatting errors without manual intervention.

The tool is distinguished by its specific focus on semicolon usage, ensuring that all statements adhere to a uniform syntax standard. It provides comprehensive style management by verifying code against predefined rules and blocking non-compliant submissions withi
- [easy-coding-standard/easy-coding-standard](https://awesome-repositories.com/repository/easy-coding-standard-easy-coding-standard.md) (1,614 ⭐) — ECS runs PHP-CS-Fixer and PHP_CodeSniffer as a single, parallel fast tool with zero dependencies. Run on PHP 7.2+
