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
·
CSSLint avatar

CSSLint/csslint

0
View on GitHub↗
4,805 stars·475 forks·JavaScript·23 viewscsslint.net↗

Csslint

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 improve rendering speeds.

The tool covers a broad range of capabilities, including the enforcement of maintainability standards, the identification of logic errors like duplicate properties, and the validation of general CSS syntax. It supports custom linting rule creation and provides a configurable rule pipeline where warnings can be suppressed on a per-line basis.

Integration is supported via a command line interface, Git hooks, and continuous integration build pipelines, with the ability to export results as XML reports for monitoring.

Features

  • Static Analysis Engines - Provides a static analysis engine that scans CSS files for syntax errors, logic flaws, and problematic patterns without execution.
  • CSS Linters - Functions as a static analysis tool that identifies errors and enforces coding conventions specifically for CSS.
  • CLI Accessibility Auditors - Provides a command-line tool for analyzing CSS source files for accessibility compliance without requiring a browser.
  • Command Line Analysis Tools - Provides a terminal-based interface for scanning CSS files and directories to identify syntax errors and problematic patterns.
  • CSS Syntax Validators - Provides a command-line interface for verifying CSS syntax and quality without requiring a web browser.
  • Static Analysis Tools - Implements a static analysis engine to validate CSS code structure and identify problematic patterns.
  • Abstract Syntax Tree Parsing - Implements a parser that converts CSS text into a structured tree for precise syntax and logic analysis.
  • CSS Style Enforcement - Enforces consistent coding standards and maintainability rules across CSS codebases for multiple developers.
  • Validation Rule Engines - Evaluates parsed CSS against a set of independent logic checks to identify style and accessibility violations.
  • Syntax Tree Analysis - Uses abstract syntax tree parsing to identify syntax errors and problematic patterns in CSS.
  • CSS Syntax Error Detection - Identifies mistyped characters and invalid CSS code to prevent browser parsing errors and rendering inconsistencies.
  • Static Logic Error Detection - Identifies potential logic flaws such as duplicate properties and empty rules via static analysis.
  • Custom Lint Rule Definitions - Supports the definition of custom linting patterns and validation logic to enforce project-specific coding standards.
  • Browser Compatibility Verification - Detects non-standard CSS hacks and missing vendor prefixes to ensure consistent rendering across different web browsers.
  • Git Hooks - Includes support for executing linting checks during Git pre-commit hooks to prevent problematic code from being merged.
  • Build Pipeline Integrations - Enables the embedding of CSS static analysis as an automated quality gate within CI/CD build pipelines.
  • CI/CD Pipeline Integrations - Integrates CSS static analysis into continuous integration and deployment workflows to catch errors before production.
  • Linting Rule Configurations - Offers a system to toggle specific linting checks and set severity levels via external configuration files or CLI arguments.
  • Warning Suppressions - Allows developers to ignore specific linting rules on a per-line basis to handle exceptions.
  • Accessibility Auditing - Scans CSS for patterns that hinder users with disabilities, such as missing focus outlines and poor color contrast.
  • CSS Selector Performance Analysis - Analyzes selectors and properties to identify opportunities for reducing file sizes and improving rendering speeds.
  • Accessibility Auditing Tools - Provides automated scanning of CSS to detect patterns that hinder users with disabilities and violate accessibility standards.
  • Stylesheet Maintainability Standards - Enforces standards for property ordering and declaration limits to ensure long-term stylesheet maintainability.
  • CSS Vendor Prefix & Hack Detection - Detects non-standard hacks and missing vendor prefixes to ensure consistent cross-browser rendering.

Star history

Star history chart for csslint/csslintStar history chart for csslint/csslint

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 Csslint

Similar open-source projects, ranked by how many features they share with Csslint.
  • 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
  • dequelabs/axe-coredequelabs avatar

    dequelabs/axe-core

    6,900View on GitHub↗

    axe-core is an automated accessibility testing engine and compliance auditor designed to scan web and mobile interfaces for violations of industry accessibility standards. It functions as a programmatic scanner and linter that analyzes HTML and source code to identify barriers and verify compliance with accessibility guidelines. The project distinguishes itself by combining a DOM-based rule engine with computer vision and machine learning to detect complex violations that evade traditional analysis, such as visual heading discrepancies and informative images. It provides specialized capabilit

    JavaScripta11yaccessibilityaxe
    View on GitHub↗6,900
  • palantir/tslintpalantir avatar

    palantir/tslint

    5,907View on GitHub↗

    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

    TypeScriptlinterlinting-rulesocto-correct-managed
    View on GitHub↗5,907
  • brigade/scss-lintbrigade avatar

    brigade/scss-lint

    3,668View on GitHub↗

    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
    View on GitHub↗3,668
See all 30 alternatives to Csslint→

Frequently asked questions

What does csslint/csslint do?

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.

What are the main features of csslint/csslint?

The main features of csslint/csslint are: Static Analysis Engines, CSS Linters, CLI Accessibility Auditors, Command Line Analysis Tools, CSS Syntax Validators, Static Analysis Tools, Abstract Syntax Tree Parsing, CSS Style Enforcement.

What are some open-source alternatives to csslint/csslint?

Open-source alternatives to csslint/csslint include: stylelint/stylelint — Stylelint is a static code analysis tool and linter for CSS and style-like languages. It identifies errors, enforces… dequelabs/axe-core — axe-core is an automated accessibility testing engine and compliance auditor designed to scan web and mobile… palantir/tslint — TSLint is an extensible static analysis tool that checks TypeScript source files against a configurable set of lint… brigade/scss-lint — scss-lint is a static analysis tool and configurable style validator for SCSS stylesheets. It identifies syntax errors… jshint/jshint — JSHint is a JavaScript static analysis tool and linter designed to detect errors and enforce coding standards. It… snyk/cli — The Snyk CLI is a command-line security scanner that detects known vulnerabilities across open-source dependencies,…