で動作するように、とハウンドはBEMが好きではありません。 Boundのクラス名についてのコメントを避けるためにHoundをどのように構成しますか?Conguring Hound.ciは、私は私のコードのスタイル警官として<strong><a href="https://houndci.com/" rel="nofollow">Hound CI</a></strong>、と私のCSSの命名のための<strong><a href="http://getbem.com/introduction/" rel="nofollow">BEM</a></strong>を使用していますBEM
0
A
答えて
0
ハウンドは、SCSSのlinting規則にSCSS-lintを使用します。 HoundがBEMを説明するようにするには、linterのselectorFormatの規則をhyphenated_BEM
に設定する必要があります。
Houndでは、初期設定で.hound.yml
ファイルを探します。我々は今ハウンドのコメントを取得する必要があります
#.scss-linter-config.yml
linters:
SelectorFormat:
enabled: true
convention: hyphenated_BEM
:そして、私たちはSCSSリンターファイルで、当社のカスタム設定を設定することができ
#.houndl.yml
scss:
config_file: .scss-linter-config.yml
:だから、特定のSCSSリンターの設定ファイルを使用するように猟犬を伝えることから始めることができますBEMに当てはまるもの!
関連する問題
- 1. 私は<strong><a href="https://github.com/carhartl/jquery-cookie" rel="nofollow">jquery cookie</a></strong>プラグインを使用して、ここに私のコードです名前
- 2. ハイライトは、私は次のコードを持っている<a href="https://github.com/mojombo/jekyll" rel="nofollow">jekyll</a></p> <p>で<a href="http://pygments.org/" rel="nofollow">pygments</a>を使用したい
- 3. は<a href="http://developer.android.com/training/camera/photobasics.html" rel="nofollow">http://developer.android.com/training/camera/photobasics.html</a></p> <p>コードから私は、コードを使用しています
- 4. ObjectMapperが、私は<a href="https://github.com/tristanhimmelman/AlamofireObjectMapper" rel="nofollow">AlamofireObjectMapper</a>を使用しています応答
- 5. は私が<a href="http://livevalidation.com" rel="nofollow">livevalidation</a>プラグインを使用しています
- 6. 私は<a href="https://github.com/redux-observable/redux-observable" rel="nofollow">redux-observable</a>を使用しています
- 7. MPAndroidChart:私は<a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow noreferrer">MPAndroidChart</a>を使用しています
- 8. は、私が<a href="http://apionrails.icalialabs.com/book/chapter_two" rel="nofollow">APIonRails tutorial</a>を使用しています
- 9. .htaccessファイルは、私はDebianの8の上だと私は<a href="http://my-domain.unice.fr/social" rel="nofollow">http://my-domain.unice.fr/social</a>でウェブサイトを持っていると私は私が持っている私の.htaccessで<a href="http://my-domain.unice./" rel="nofollow">http://my-domain.unice./</a></p> <p>でこれをリダイレクトしたい
- 10. 私は<a href="https://omeka.org/" rel="nofollow noreferrer">Omeka</a>の私の元のインスタンスを持つリモートサーバー持って
- 11. は、私は<a href="http://en.wikipedia.org/wiki/Microsoft_Blend" rel="nofollow noreferrer">Expression Blend</a> 4(<a href="https://en.wikipedia.org/wiki/Windows_Phone" rel="nofollow noreferrer">Windows Phone</a> 7のために)、私は(資産)のすべての行動がロードされている起動すると
- 12. fullpagejsは - 私は<a href="https://github.com/alvarotrigo/fullPage.js#fullpagejs" rel="nofollow noreferrer">fullpagejs</a>を使用しているテンプレート
- 13. アンドロイドのjava.lang.NullPointerException:私はCubeLayoutクラスで<br> <a href="https://github.com/justomiguel/AndroidCubeDemo" rel="nofollow">Android Cube Demo</a></p> <p>を使用していインタフェースメソッド
- 14. は、どのように私は<a href="http://controlsjs.com/" rel="nofollow">Hello demo</a></p> <p>をしようとしていた
- 15. 私は私が右上の隅にダウンロードボタンのツールチップの名前を変更するにはどうすればよい<a href="http://echarts.baidu.com/index.html" rel="nofollow noreferrer">echarts</a></p> <p><a href="https://i.stack.imgur.com/v9vvf.png" rel="nofollow noreferrer">Picture of my chart</a></p> <p>を使用しています
- 16. 私は<a href="http://isotope.metafizzy.co/docs/options.html#onlayout" rel="nofollow">http://isotope.metafizzy.co/docs/options.html#onlayout</a>を使用してい
- 17. はTypeError:、私は私のミスです<a href="http://getfirebug.com/" rel="nofollow noreferrer">Firebug</a></p> <p>と、このエラーが出るのdocument.getElementById(...)は、JavaScriptの
- 18. 私はターミナルで<a href="http://beginrescueend.com/rvm/install/" rel="nofollow">http://beginrescueend.com/rvm/install/</a>と<a href="http://beginrescueend.com/rvm/basics/" rel="nofollow">http://beginrescueend.com/rvm/basics/</a></p> <p>上のすべての指示に従ってきたルビー
- 19. 私は<a href="http://www.amember.com/docs/REST" rel="nofollow">http://www.amember.com/docs/REST</a></p> <p>製品のエンドポイントを使用しています
- 20. のWebPACKのresolve.aliasは、私が<a href="https://github.com/angular/angular2-seed" rel="nofollow">angular2-seed</a>とNPM <a href="https://github.com/tpadjen/ng2-prism" rel="nofollow">ng2-prism</a>仕事をするためにしようとしているサードパーティのモジュール
- 21. は、私は<a href="https://github.com/nvie/gitflow" rel="noreferrer">git flow</a>を使用し始めていると私はやっていることを理解
- 22. の画像は、私はgithubのページに<a href="http://calebbertrand.github.io" rel="nofollow noreferrer">website</a>を持って
- 23. は、Java用<a href="http://www.magnolia-cms.com/" rel="nofollow">MAGNOLIA</a></p> <p>CMSを使用する
- 24. Firefoxの/ jQueryのは、だから私は2つの画像ギャラリー、<a href="http://devkick.com/lab/galleria/" rel="nofollow noreferrer">Galleria</a>と<a href="http://leandrovieira.com/projects/jquery/lightbox/" rel="nofollow noreferrer">Lightbox</a>を結合しようとしていますimg要素
- 25. 私はリストについて<a href="http://youtu.be/ZbXSOX2kHys" rel="nofollow">this animation</a></p> <p>を作成しようとしているUICollectionView
- 26. 展開煎茶/ jQueryのモバイルつのタッチが、私は<a href="http://www.sencha.com/products/touch/" rel="nofollow">Sencha</a>または<a href="http://jquerymobile.com/demos/1.0a2/" rel="nofollow">JQuery Mobile</a>を使用して思っていたアンドロイド/ IPhone
- 27. 私は次のリンク <a href="http://www.jquery-steps.com/Examples" rel="nofollow">http://www.jquery-steps.com/Examples</a></p> <p>からフォームウィザードを使用しているフォームウィザード
- 28. グローバルパラメータ私はこのライブラリ<a href="https://github.com/jessevdk/go-flags" rel="nofollow">https://github.com/jessevdk/go-flags</a></p> <p>を使用してい
- 29. は、私は、リポジトリ<a href="https://github.com/jklaiho/django-class-fixtures" rel="nofollow">Django class fixtures</a>をダウンロードしたvirtualenvの
- 30. 私はビデオを作成するために<a href="https://github.com/leonid-shevtsov/headless" rel="nofollow">headless</a>と<a href="https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings" rel="nofollow">selenium-webdriver</a>の宝石を使用してい
これまでにHoundとBEMでセットアップした内容を教えてください。 –