で動作するように、とハウンドは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. はJQueryの.html()私は<a href="http://onsen.io" rel="nofollow noreferrer">Onsen UI</a> + jQueryのを使用してい
- 3. のpython3のデフォルトのエンコーディング私は<a href="http://inginious.readthedocs.io" rel="noreferrer">inginious</a>と呼ばれるフレームワークを使用していますし、そのテンプレートをレンダリングする<a href="http://webpy.org/" rel="noreferrer">web.py</a>を使用しています
- 4. ハイライトは、私は次のコードを持っている<a href="https://github.com/mojombo/jekyll" rel="nofollow">jekyll</a></p> <p>で<a href="http://pygments.org/" rel="nofollow">pygments</a>を使用したい
- 5. は、私は<a href="https://redom.js.org" rel="nofollow noreferrer">redom</a>ライブラリをインポートしようとしています
- 6. 私は* <a href="http://python.codnex.net/index.php" rel="nofollow noreferrer">http://python.codnex.net/index.php</a> *を使用しているのpython
- 7. は<a href="http://developer.android.com/training/camera/photobasics.html" rel="nofollow">http://developer.android.com/training/camera/photobasics.html</a></p> <p>コードから私は、コードを使用しています
- 8. 私は<a href="https://www.primefaces.org/primeng/#/" rel="nofollow noreferrer">PrimeNG</a><p> </p><a href="https://www.primefaces.org/" rel="nofollow noreferrer">primefaces.org</a>からすべてがうまく機能している使用しています
- 9. 私は<a href="https://github.com/redux-observable/redux-observable" rel="nofollow">redux-observable</a>を使用しています
- 10. は私が<a href="http://livevalidation.com" rel="nofollow">livevalidation</a>プラグインを使用しています
- 11. ObjectMapperが、私は<a href="https://github.com/tristanhimmelman/AlamofireObjectMapper" rel="nofollow">AlamofireObjectMapper</a>を使用しています応答
- 12. MPAndroidChart:私は<a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow noreferrer">MPAndroidChart</a>を使用しています
- 13. は、私が<a href="http://apionrails.icalialabs.com/book/chapter_two" rel="nofollow">APIonRails tutorial</a>を使用しています
- 14. .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>でこれをリダイレクトしたい
- 15. 私は<a href="https://omeka.org/" rel="nofollow noreferrer">Omeka</a>の私の元のインスタンスを持つリモートサーバー持って
- 16. は、私は<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のために)、私は(資産)のすべての行動がロードされている起動すると
- 17. アンドロイドのjava.lang.NullPointerException:私はCubeLayoutクラスで<br> <a href="https://github.com/justomiguel/AndroidCubeDemo" rel="nofollow">Android Cube Demo</a></p> <p>を使用していインタフェースメソッド
- 18. fullpagejsは - 私は<a href="https://github.com/alvarotrigo/fullPage.js#fullpagejs" rel="nofollow noreferrer">fullpagejs</a>を使用しているテンプレート
- 19. は、どのように私は<a href="http://controlsjs.com/" rel="nofollow">Hello demo</a></p> <p>をしようとしていた
- 20. 私は私が右上の隅にダウンロードボタンのツールチップの名前を変更するにはどうすればよい<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>を使用しています
- 21. はTypeError:、私は私のミスです<a href="http://getfirebug.com/" rel="nofollow noreferrer">Firebug</a></p> <p>と、このエラーが出るのdocument.getElementById(...)は、JavaScriptの
- 22. は私の<a href="https://imgur.com/a/zt0g7" rel="nofollow noreferrer">view</a></p> <p>私のコードである各製品
- 23. 私は<a href="http://isotope.metafizzy.co/docs/options.html#onlayout" rel="nofollow">http://isotope.metafizzy.co/docs/options.html#onlayout</a>を使用してい
- 24. FullCalendar私は<a href="https://fullcalendar.io/" rel="nofollow noreferrer">FullCalendar 3</a>を使用してい
- 25. エラーは、私が<a href="https://github.com/indexzero/http-server" rel="nofollow noreferrer">http-server</a>を使用してい
- 26. 私の<a href=""></a>は機能していませんか?
- 27. 私はターミナルで<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>上のすべての指示に従ってきたルビー
- 28. 私は<a href="https://github.com/kelektiv/node-cron" rel="nofollow noreferrer">node-cron</a>とExpress.js</p> <p>を使用していますcronジョブ
- 29. 私は<a href="http://www.amember.com/docs/REST" rel="nofollow">http://www.amember.com/docs/REST</a></p> <p>製品のエンドポイントを使用しています
- 30. LinuxのAPPENDパスは、私が<a href="https://github.com/pyenv/pyenv" rel="nofollow noreferrer">pyenv</a>をインストールしている
これまでにHoundとBEMでセットアップした内容を教えてください。 –