1

I have created a .csslintrc file in my Mimosa project as documented in mimosa-config-documented.coffee

I have also created a .jshintrc file

The css lint file IS NOT being picked up The JS hint file IS being picked up

This is confirmed when I run ... mimosa watch -sD (debug mode)

Changing CSS lint rules in mimosa-config-documented.coffee doesn't work either

Does anyone know how to adjust CSS lint rules for Mimosa? I find the mimosa-csslint module great but some of the rules are overly restrictive and i need to turn some off

If anyone can help it would be amazing - thanks No skeleton projects seem to cover this :(

4

1 回答 1

2

一些事情:

1) Mimosa 的 CSSLinting 不支持 .csslintrc 文件。将是 mimosa-csslint 模块上的功能请求。您可以在文档中看到:http ://mimosa.io/configuration.html#lint jshint 包含一个指向 jshintrc 文件的属性,但 csslint 没有这样的属性。

2)如果您要更新文件中的属性-documented,那么您是在错误的文件中进行的。该文件仅用于文档。 mimosa-config.js是您想要进行更改的地方。

于 2014-11-06T19:06:17.337 回答