{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/fecs/issues/65","labels_url":"https://api.github.com/repos/ecomfe/fecs/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/fecs/issues/65/comments","events_url":"https://api.github.com/repos/ecomfe/fecs/issues/65/events","html_url":"https://github.com/ecomfe/fecs/issues/65","id":59023387,"number":65,"title":"less检查的一些问题","user":{"login":"otakustay","id":639549,"avatar_url":"https://avatars.githubusercontent.com/u/639549?v=3","gravatar_id":"","url":"https://api.github.com/users/otakustay","html_url":"https://github.com/otakustay","followers_url":"https://api.github.com/users/otakustay/followers","following_url":"https://api.github.com/users/otakustay/following{/other_user}","gists_url":"https://api.github.com/users/otakustay/gists{/gist_id}","starred_url":"https://api.github.com/users/otakustay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otakustay/subscriptions","organizations_url":"https://api.github.com/users/otakustay/orgs","repos_url":"https://api.github.com/users/otakustay/repos","events_url":"https://api.github.com/users/otakustay/events{/privacy}","received_events_url":"https://api.github.com/users/otakustay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-26T05:52:36Z","updated_at":"2015-02-27T06:22:30Z","closed_at":null,"body":"试了下我项目里的，有不少问题，不知道是应该每个开一个issue还是集中在这里：\r\n\r\n1. 不少报错无法定位行号，比如：\r\n\r\n        ` When multiple selectors share a statement block, each selector statement must be per line\r\n\r\n    目测是转义之类的出问题了\r\n\r\n2. 对于`.less`也应用了“`@import`必须在最前”的规则，但这并不是必要的。我们的做法是引入一个库后，针对这个库设置一些变量，再引入下一个库，这使得一个库相关的逻辑在一起，个人认为比起把`@import`放一起有更好的维护性，如移除一个库的时候可以整段删代码\r\n3. 对于`mixin`的检测要求所有`.less`维护自身的所有依赖。在实际中，项目可能只要一个`main.less`有完整的依赖关系即可，分开来的若干小的`.less`不需要一一写上`@import`。这个导致mixin和variable未定义的错误，我想是否可以忽略\r\n4. 对于`When multiple selectors share a statement block, each selector statement must be per line`这个错误，我经常在文件中找不到错在哪里，没有多选择器（逗号分隔）占一行的情况"},"comment":{"url":"https://api.github.com/repos/ecomfe/fecs/issues/comments/76345632","html_url":"https://github.com/ecomfe/fecs/issues/65#issuecomment-76345632","issue_url":"https://api.github.com/repos/ecomfe/fecs/issues/65","id":76345632,"user":{"login":"otakustay","id":639549,"avatar_url":"https://avatars.githubusercontent.com/u/639549?v=3","gravatar_id":"","url":"https://api.github.com/users/otakustay","html_url":"https://github.com/otakustay","followers_url":"https://api.github.com/users/otakustay/followers","following_url":"https://api.github.com/users/otakustay/following{/other_user}","gists_url":"https://api.github.com/users/otakustay/gists{/gist_id}","starred_url":"https://api.github.com/users/otakustay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otakustay/subscriptions","organizations_url":"https://api.github.com/users/otakustay/orgs","repos_url":"https://api.github.com/users/otakustay/repos","events_url":"https://api.github.com/users/otakustay/events{/privacy}","received_events_url":"https://api.github.com/users/otakustay/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T06:22:30Z","updated_at":"2015-02-27T06:22:30Z","body":"再来一个看不懂的：\r\n\r\n```\r\nfecs  WARN → line 12: `@gray-bg-color: #ebebeb;` Color definitions must use #RRGGBB format definition, Don't use RGB、HSL expression\r\n```"}}