<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="227320" data-post-id="227320">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="AllanPinheiroDeLima" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/AllanPinheiroDeLima/120/23501_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  AllanPinheiroDeLima
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="adrienmo" data-post="11" data-topic="15462">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/a/dec6dc/48.png" class="avatar"> adrienmo:</div>
<blockquote>
<p>externalIssuesReportPaths</p>
</blockquote>
</aside>
<p>Hi, I can’t run the generic issues script. Maybe i’m doing something wrong ?<br>
I’ve installed the credo_sonarqube package, but, when I run <code>mix credo --sonarqube-base-folder cover/ --sonarqube-file credo_sonarqube.json</code> it fails with the message</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">** (credo) Unknown switch: --sonarqube-base-folder
** (credo) Unknown switch: --sonarqube-file
</code></pre>
<p>Was something I misconfigured ?</p>
<p>And I wish to help with further development of this plugin. Is there any collaboration guidelines I should use ?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="227320" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-projects-in-sonarqube/15462/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-227320" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="227320"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="227327" data-post-id="227327">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="AllanPinheiroDeLima" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/AllanPinheiroDeLima/120/23501_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  AllanPinheiroDeLima
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I did just check out the issues tab and found out that I didn’t configured the credo plugins properly. Solved.<br>
But having this on docs would be nice. I can create a pull request documenting this</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="227327" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-projects-in-sonarqube/15462/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-227327" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="227327"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="243313" data-post-id="243313">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="griojas" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/griojas/120/25773_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  griojas
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Could you share the configuration you did? I am facing the same issues.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="243313" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-projects-in-sonarqube/15462/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-243313" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="243313"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="244641" data-post-id="244641">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="sergiotudela" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sergiotudela/120/25905_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  sergiotudela
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Here you can check the configuration <a href="https://github.com/adrienmo/credo_sonarqube/issues/1#issuecomment-760646572" class="inline-onebox" rel="noopener nofollow ugc">Error calling credo with parameters · Issue #1 · adrienmo/credo_sonarqube · GitHub</a> it’s basically credo configuration (enable credo sonar plugin)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="244641" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-projects-in-sonarqube/15462/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-244641" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="244641"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="258003" data-post-id="258003">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="csadewa" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/csadewa/120/24535_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  csadewa
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="adrienmo" data-post="11" data-topic="15462">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/a/dec6dc/48.png" class="avatar"> adrienmo:</div>
<blockquote>
<p>I’ve tried to make it work with some duct tape!</p>
</blockquote>
</aside>
<p>Thanks <a class="mention" href="/u/adrienmo" rel="nofollow">@adrienmo</a> , i am able to integrate elixir to sonarqube recently with your help!<br>
It need a little bit of adjustment though on recent version of sonarqube (community edition, version <strong>9.5</strong>):</p>
<ol>
<li>need to adjust a bit output of <code>coveralls.xml</code>: <code>sed -i 's/file path="\//file path="/g' cover/excoveralls.xml</code></li>
<li>need to adjust a bit output of <code>credo_sonarqube</code>: <code>sed -i 's/startLine": null/startLine": 1/g' credo_sonarqube.json</code></li>
</ol> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="258003" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-projects-in-sonarqube/15462/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-258003" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="258003"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="384810" data-post-id="384810">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hpopp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hpopp/120/36162_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hpopp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’ve been checking in on this thread periodically over the last several years and finally just decided to build my own plugin: <a href="https://github.com/hpopp/sonar-elixir" class="inline-onebox" rel="noopener nofollow ugc">GitHub - hpopp/sonar-elixir: Community SonarQube plugin for the static analysis of Elixir projects. · GitHub</a></p>
<p>It’s still in early development, but it already supports some amazing features:</p>
<ul>
<li>Static analysis (with some caveats). It requires Elixir to be installed in your CI when running sonar-scanner, but that’s a non-issue for most.</li>
<li>Proper syntax highlighting in the SonarQube UI.</li>
<li>Some of the basic Sonar LOC metrics.</li>
<li>Test code coverage using a new Sonar Mix coverage task <a href="https://github.com/hpopp/mix-sonarqube" class="inline-onebox" rel="noopener nofollow ugc">GitHub - hpopp/mix-sonarqube: Mix utilities for the sonar-elixir SonarQube plugin. · GitHub</a>.</li>
</ul>
<p>At the moment, it only provides a few checks in the quality profile (it’s v0.1.1), but the long term goal is to achieve parity with Credo and Sobelow. I’m effectively rewriting these checks in Java to get the proper native Sonar experience. Help would be greatly appreciated if you want to contribute.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="384810" data-batch-url="/posts/batch_likers">
                        4
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-projects-in-sonarqube/15462/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-384810" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="384810"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>