topcoat / resin

A future facing CSS preprocessor made with postcss
http://topcoat.io
Apache License 2.0
171 stars 9 forks source link

Add CSS linter #3

Open kristoferjoseph opened 10 years ago

kristoferjoseph commented 10 years ago

Need to lint output CSS for common errors and source order. See

techwraith commented 10 years ago

It would be really cool if Rework had a css linting plugin available to it. That way it could warn you as it pulls each file in and tell you which file has the lint warning/error.

I haven't seen one yet, and I think finding something that handles the import case would be tough. Building this may be tougher though.

Thoughts?

kristoferjoseph commented 10 years ago

@Techwraith I have already needed this while refactoring. There are not line meaningful numbers when working with the ast. Wondering how much overlap with the source map plugin there would need to be for this.