Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Jocs/CSSLint-Guideline
Basic use of CSSLint
https://github.com/Jocs/CSSLint-Guideline
Last synced: about 2 months ago
JSON representation
Basic use of CSSLint
- Host: GitHub
- URL: https://github.com/Jocs/CSSLint-Guideline
- Owner: Jocs
- Created: 2016-01-12T09:51:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-01-13T02:25:41.000Z (over 8 years ago)
- Last Synced: 2024-06-03T11:45:42.139Z (4 months ago)
- Language: CSS
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### CSSLint 基本使用说明
#### 一、命令行中使用CSSlint
1. 全局安装csslint
> npm install -g csslint
1. 将目录中的`.csslintrc` 配置文件拷贝到你项目的根目录下
2. 使CSSLint运行起来命令行中运行如下命令
> csslint [option]\[file|dir]*
举个栗子:
> csslint file1.css directory
可选的option请参见https://github.com/CSSLint/csslint/wiki/Command-line-interface
#### 二、其他环境中使用CSSLint
在构建工具中使用CSSLint请参见:
https://github.com/CSSLint/csslint/wiki/Build-System-Integration
在IDE中使用CSSLint请参见
https://github.com/CSSLint/csslint/wiki/IDE-integration