百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

csslint

> 编程语言
开源

对层叠样式表的自动校对

4.8K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

对层叠样式表的自动校对

CSSLint

CSSLint is an open source CSS code quality tool originally written by Nicholas C. Zakas and Nicole Sullivan. It was released in June 2011 at the Velocity conference.

A lint tool performs static analysis of source code and flags patterns that might be errors or otherwise cause problems for the developer.

CSSLint is a tool to help point out problems with your CSS code. It does basic syntax checking as well as applying a set of rules to the code that look for problematic patterns or signs of inefficiency. The rules are all pluggable, so you can easily write your own or omit ones you don't want.

Integration

Command Line Interface

All about the command line interface for CSSLint. If you'd rather use a CLI program to verify your CSS instead of using the web site, then this guide is your best friend. https://github.com/CSSLint/csslint/wiki/Command-line-interface

Build System

Once you're familiar with the CSSLint command line interface, the next step is to integrate it into your build system. This guide walks through using CSSLint as part of your build. https://github.com/CSSLint/csslint/wiki/Build-System-Integration

IDE

You can integrate CSSLint into your favorite IDE to make checking your CSS code quality easy. In fact, some IDEs already have CSSLint built in. https://github.com/CSSLint/csslint/wiki/IDE-integration

Rules

Not sure why a rule is important? This guide talks about each of the CSSLint rules and explains how the rule is designed to improve your CSS. https://github.com/CSSLint/csslint/wiki/Rules

Developer Guide

If you want to contribute to the project, or even just tinker on your own, this guide explains how to get the source and work with it. https://github.com/CSSLint/csslint/wiki/Developer-Guide

Contributors

  1. Samori Gorse, https://twitter.com/shinuza (Rules, Non-zero Exit Code for CLI)
  2. Eitan Konigsburg, https://twitter.com/eitanmk (Rhino CLI)
  3. Ben Barber (Compatible Vendor Prefix Rule)
  4. Eric Wendelin, http://eriwen.com (Output formatters)
  5. Kasper Garnaes, http://reload.dk (Checkstyle XML format)
  6. Gord Tanner, http://www.tinyhippos.com (CLI quiet option)
  7. Hans-Peter Buniat, https://github.com/hpbuniat (Duplicate background image rule)
  8. Dino Chiesa, https://github.com/DinoChiesa (Windows Script Host CLI)
  9. Tomasz Oponowicz, https://github.com/tomasz-oponowicz (XML format and CLI fixes)
  10. Julien Kernec'h, https://github.com/parallel (Fixed a rule)
  11. Cillian de Róiste, https://plus.google.com/116480676247600483573/posts (Node CLI fixes)
  12. Damien Sennm, https://github.com/topaxi (README fixes)
  13. Jonathan Barnett, http://twitter.com/indieisaconcept (JUnit formatter)
  14. Zach Leatherman, http://www.zachleat.com/ (bug fixes)
  15. Philip Walton, http://philipwalton.com (Rules fixes, bug fixes)
  16. Jeff Beck, http://www.jeffbeck.info (Rules fixes, bug fixes)
  17. Jay Merrifield, https://github.com/fracmak (Rules fixes)
  18. Michael Mattiacci, http://mattiacci.com (Rules fixes)
  19. Jonathan Klein, http://www.jonathanklein.net (Bulletproof font-face rule)
  20. Shannon Moeller, http://shannonmoeller.com (Embedded rulesets)
  21. Nick Schonning, https://github.com/nschonni (Contributing.md, grunt build)
  22. Jared Wyles, https://github.com/jaredwy (Managing pull requests, endless advice)
  23. Scott Gonzalez, https://github.com/scottgonzalez (JSON config)

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •JavaScript

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言