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

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
stylelint avatar

stylelint/stylelint

0
View on GitHub↗
11,484 Stars·1,010 Forks·JavaScript·MIT·8 Aufrufestylelint.io↗

Stylelint

Stylelint ist ein Tool zur statischen Codeanalyse und ein Linter für CSS und stilähnliche Sprachen. Es identifiziert Fehler, erzwingt Codierungskonventionen und fungiert als PostCSS-Plugin, um Stylesheets während Build-Pipelines zu validieren.

Das Projekt zeichnet sich durch die Unterstützung nicht standardmäßiger Syntaxen aus, einschließlich Preprocessor-Parsing für SCSS und Less, sowie die Fähigkeit, eingebettete Stile aus JavaScript, HTML und Template-Literalen zu extrahieren und zu linten. Es verfügt über ein automatisiertes Korrektursystem, das reparierbare Stilverstöße programmatisch korrigiert, um Konsistenz sicherzustellen.

Das System bietet eine Plugin-Architektur zur Erstellung benutzerdefinierter Regeln, Syntaxen und Formatierer. Es deckt ein breites Spektrum an Qualitätssicherungsfähigkeiten ab, einschließlich der Vermeidung veralteter Syntax, der Validierung der Selektorspezifität und der Durchsetzung von Namensmustern und stilistischen Konventionen. Die Konfiguration wird über eine kaskadierende Zusammenführungslogik verwaltet, die gemeinsam nutzbare Presets und dateispezifische Überschreibungen unterstützt.

Das Tool ist über eine Befehlszeilenschnittstelle, eine programmatische API und verschiedene Editor-Integrationen zugänglich.

Features

  • Stylesheet Analysis CLIs - Provides a command-line tool for scanning stylesheets to identify errors and enforce coding conventions.
  • Code Quality Tools - Identifies syntax errors and enforces consistent coding conventions across stylesheets to prevent bugs.
  • Static Code Analysis Tools - Implements a system that scans stylesheets for syntax errors and problematic patterns without executing the code.
  • Linting Error Corrections - Automatically corrects repairable coding problems to maintain consistency across stylesheets.
  • Command Line Interfaces - Provides a ready-to-run command-line application for executing style analysis and managing configuration.
  • CSS AST Analysis - Analyzes CSS stylesheets using abstract syntax trees generated via PostCSS to evaluate code structure.
  • CSS and Preprocessor Formatting - Automatically corrects repairable styling violations and convention errors to maintain a clean codebase.
  • Custom Style Syntaxes - Supports non-standard style languages and preprocessors through a modular custom parsing architecture.
  • Syntax Validation - Verifies the grammatical correctness of stylesheets through AST analysis to detect malformed code or custom syntax.
  • CSS Style Enforcement - Enforces consistency and syntax standards specifically for CSS and style-like languages.
  • Plugin-Based Rule Engines - Implements a modular architecture where individual linting rules are encapsulated as decoupled plugin modules.
  • Automatic Lint Fixes - Automatically corrects formatting and style violations detected during linting without requiring manual intervention.
  • Extensible Plugin Architectures - Implements a modular architecture for creating custom rules, syntaxes, and formatters via plugins.
  • CSS Preprocessor Parsing - Parses CSS preprocessor syntaxes such as SCSS and Less into structured trees for analysis.
  • Automated Code Fixers - Provides a utility that automatically corrects repairable styling violations to ensure consistency.
  • CSS Linters - Provides a validator that supports non-standard syntaxes like SCSS and Less for style linting.
  • CSS Linting - Analyzes non-standard syntaxes like SCSS and Less to apply validation rules to pre-processed styles.
  • CSS Syntax Error Detection - Identifies malformed CSS values, such as invalid hex codes or media queries, that cause browser parsing errors.
  • Style Extraction - Locates and extracts style definitions embedded within non-CSS files like HTML, Markdown, or template literals for analysis.
  • PostCSS Pipeline Integration - Integrates stylesheet analysis as a plugin within a PostCSS processing pipeline to validate CSS during builds.
  • Shareable Configurations - Supports the creation and inheritance of reusable rule sets to maintain consistency across projects.
  • Analysis Result Caches - Stores intermediate analysis results for unchanged files to avoid redundant processing and improve performance.
  • Automated Code Fix Suggestions - Provides actionable code change suggestions by identifying character ranges and replacement text to resolve styling violations.
  • Editor Integrations - Connects linting feedback and error highlighting directly into the editor workflow via extensions.
  • Custom Lint Rule Plugins - Provides a plugin interface for adding custom lint rules and embedded style support.
  • Custom Lint Rule Definitions - Provides interfaces for defining custom rules to enforce team-specific CSS and style standards.
  • Style Syntax Definitions - Allows modification of the parser to recognize specialized CSS at-rules, keywords, and units.
  • Lint Result Formatters - Transforms lint results into multiple output formats like JSON, XML, or TAP for integration with build systems.
  • Configuration Cascade Resolutions - Implements logic to determine the final active rule set by merging hierarchical configuration layers.
  • CSS Syntax Deprecation - Identifies and blocks outdated CSS properties and selectors to ensure compatibility with modern standards.
  • Duplicate Declaration Preventions - Identifies and prevents redundant property or selector declarations within stylesheets to reduce code bloat.
  • Language-Specific Formatting Overrides - Allows specification of different syntaxes and rule sets for specific file patterns to support multiple languages.
  • Property and Element Restrictions - Enforces constraints on which CSS properties, functions, or pseudo-classes are permitted using allow-lists and deny-lists.
  • Property Value Constraints - Enforces limits on the number of values assigned to a specific CSS property using regular expressions.
  • CSS Redundancy Removal - Identifies and blocks unnecessary longhand properties or redundant nested rules in stylesheets.
  • Recursive Configuration Merging - Deeply merges global configurations with file-specific overrides to create a final resolved settings tree.
  • Unknown Identifier Detection - Flags unrecognized CSS properties, functions, and pseudo-elements to prevent typos and non-standard usage.
  • Rule Suppression Comments - Uses inline source code comments to disable specific linting rules for targeted lines or blocks.
  • Warning Threshold Enforcers - Fails the build process when the number of emitted warnings exceeds a specified limit in CI.
  • Lint Rule Severity Levels - Allows definition of rule activity and severity levels (error, warning, or off) via configuration.
  • Lint Result Formatters - Transforms lint analysis results into multiple output formats for integration with editors, CI systems, and build pipelines.
  • Selector Complexity Limits - Constrains the number of IDs, classes, or attributes in a CSS selector to optimize browser performance.
  • CSS Property Value Validations - Flags property-value pairs that do not exist in specifications to ensure valid stylesheet syntax.
  • Selector Specificity Restrictions - Ensures selectors adhere to maximum specificity thresholds to maintain a manageable CSS architecture.
  • CSS-in-JS Extraction - Locates and extracts CSS styles embedded within JavaScript template literals or HTML for linting.
  • Vendor Prefix Restrictions - Disallows the use of vendor-prefixed properties and selectors to encourage adherence to standard CSS specifications.
  • Tools für Codequalität - Modern CSS and style sheet linting tool.
  • Web Frameworks - Linter for enforcing style conventions.

Star-Verlauf

Star-Verlauf für stylelint/stylelintStar-Verlauf für stylelint/stylelint

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht stylelint/stylelint?

Stylelint ist ein Tool zur statischen Codeanalyse und ein Linter für CSS und stilähnliche Sprachen. Es identifiziert Fehler, erzwingt Codierungskonventionen und fungiert als PostCSS-Plugin, um Stylesheets während Build-Pipelines zu validieren.

Was sind die Hauptfunktionen von stylelint/stylelint?

Die Hauptfunktionen von stylelint/stylelint sind: Stylesheet Analysis CLIs, Code Quality Tools, Static Code Analysis Tools, Linting Error Corrections, Command Line Interfaces, CSS AST Analysis, CSS and Preprocessor Formatting, Custom Style Syntaxes.

Welche Open-Source-Alternativen gibt es zu stylelint/stylelint?

Open-Source-Alternativen zu stylelint/stylelint sind unter anderem: csslint/csslint — This project is a CSS linter and static analysis tool designed to identify syntax errors, logic flaws, and problematic… checkstyle/checkstyle — Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best… brigade/scss-lint — scss-lint is a static analysis tool and configurable style validator for SCSS stylesheets. It identifies syntax errors… standard/standard — Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style… feross/standard — Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide… webhintio/hint — Hint is a web development linter and static analysis tool that audits HTML, CSS, and JavaScript. It provides a suite…

Open-Source-Alternativen zu Stylelint

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Stylelint.
  • csslint/csslintAvatar von CSSLint

    CSSLint/csslint

    4,805Auf GitHub ansehen↗

    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

    JavaScript
    Auf GitHub ansehen↗4,805
  • checkstyle/checkstyleAvatar von checkstyle

    checkstyle/checkstyle

    8,867Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗8,867
  • brigade/scss-lintAvatar von brigade

    brigade/scss-lint

    3,668Auf GitHub ansehen↗

    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

    Ruby
    Auf GitHub ansehen↗3,668
  • standard/standardAvatar von standard

    standard/standard

    29,431Auf GitHub ansehen↗

    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

    JavaScriptdevelopmentecmascriptes6
    Auf GitHub ansehen↗29,431
Alle 30 Alternativen zu Stylelint anzeigen→