dmi3y / csslint-cli Goto Github PK
View Code? Open in Web Editor NEWNode based CLI tool for CSSLint
Node based CLI tool for CSSLint
It would be nice, if you update csslint-cli
. Now last edit in your repository date 3 years ago.
I use your CLI, not default csslint CLI, because I can use one .csslintrc
file in root directory of my projects. Yes, I have seen your pull-request for csslint, but I think, that I'll still have problems with TravisCI or AppVeyor csslint integration.
By this reason it would be nice, if csslint-cli will be longer maintained.
For example, I have a file sublime-text.css
.
D:\…a\themes\sashapelican\static\css\sections>csslint-cli sublime-text.css
+-.\sublime-text.css: 3 issue(s):
|
| L84:C5 . . . background: rgba(255, 228, 181, 0.99);
| WARN: Fallback background (hex or RGB) should precede RGBA background.(fallback-colors)
|
| L89:C5 . . . background: rgba(255, 228, 181, 0.99);
| WARN: Fallback background (hex or RGB) should precede RGBA background.(fallback-colors)
|
| L94:C5 . . . background: rgba(255, 228, 181, 0.99);
| WARN: Fallback background (hex or RGB) should precede RGBA background.(fallback-colors)
|
+-.\sublime-text.css
I get extra order-alphabetical rule output.
D:\…a\themes\sashapelican\static\css\sections>csslint sublime-text.css
csslint: There are 7 problems in D:\Kristinita\themes\sashapelican\static\css\sections\sublime-text.css.
sublime-text.css
1: warning at line 59, col 1
Rule doesn't have all its properties in alphabetical order.
blockquote {
sublime-text.css
2: warning at line 84, col 5
Fallback background (hex or RGB) should precede RGBA background.
background: rgba(255, 228, 181, 0.99);
sublime-text.css
3: warning at line 89, col 5
Fallback background (hex or RGB) should precede RGBA background.
background: rgba(255, 228, 181, 0.99);
sublime-text.css
4: warning at line 94, col 5
Fallback background (hex or RGB) should precede RGBA background.
background: rgba(255, 228, 181, 0.99);
sublime-text.css
5: warning at line 102, col 1
Rule doesn't have all its properties in alphabetical order.
.tooltipster-punk-purple .tooltipster-box
sublime-text.css
6: warning at line 110, col 1
Rule doesn't have all its properties in alphabetical order.
.tooltipster-punk-aquamarine .tooltipster-box
sublime-text.css
7: warning at line 126, col 1
Rule doesn't have all its properties in alphabetical order.
.SashaEpigraph {
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.