I notice I accidentally only sent this to Joaquin.

DJ


---------- Forwarded message ----------
From: Derk-Jan Hartman <d.j.hartman@gmail.com>
Date: Fri, Nov 21, 2014 at 4:07 PM
Subject: Re: [WikimediaMobile] [Web] Spike: Explore using CSSLint/LessLint in mobile
To: Joaquin Oltra Hernandez <jhernandez@wikimedia.org>


Ehm, I tried working with CSSLint several times and in my opinion it simply doesn't (yet) work at our scale. We have WAY too many overrides. It also horribly fails on anything that is not known to it yet (new browser specific properties or values) and it doesn't have 'comment' overrides to ignore warnings or errors (at least last time I checked).

If you are starting from scratch it is great (I even contributed a few patches to it), but I found it horrible to work with (unlike JSHint) in real world practice where exceptions are simply the norm to make stuff work cross platform. If you want to use it, plan on spending quite a bit of time tweaking upstream.

DJ

On Fri, Nov 21, 2014 at 9:45 AM, Joaquin Oltra Hernandez <jhernandez@wikimedia.org> wrote:

CSS is a beast and any help is going to be useful.

As Jon said, we probably need a longer spike/task to see if any other teams are doing CSS linting and there are already conventions we can use, and to determine what validation rules we want to use.

El 21/11/2014 2:53, "Jon Robson" <jrobson@wikimedia.org> escribió:

Which rules would MobileFrontend be able to use from the start?
Which rules might be controversial to adopt?


On Fri, Nov 21, 2014 at 9:00 AM, Bahodir Mansurov
<bmansurov@wikimedia.org> wrote:
> After reading benefits of CSSLint there is no doubt in my mind that we
> should use it. Here [1] are some of the benefits. They range from possible
> errors to compatibility to performance, etc. With grunt we can use
> grunt-lesslint [2], which employs CSSLint under the hood so we can also
> tweak it using CSSLint rules.
>
> What do you guys think?
>
> [1] https://github.com/CSSLint/csslint/wiki/Rules.
> [2] https://github.com/jgable/grunt-lesslint
>
> _______________________________________________
> Mobile-l mailing list
> Mobile-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mobile-l
>

_______________________________________________
Mobile-l mailing list
Mobile-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l

_______________________________________________
Mobile-l mailing list
Mobile-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l