<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/codenarc/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/codenarc/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/codenarc/feature-requests/</id><updated>2018-05-28T00:29:12.691000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>#418 Add support for checking indentation</title><link href="https://sourceforge.net/p/codenarc/feature-requests/418/?limit=25#fe97" rel="alternate"/><published>2018-05-28T00:29:12.691000Z</published><updated>2018-05-28T00:29:12.691000Z</updated><author><name>Chris Mair</name><uri>https://sourceforge.net/u/chrismair/</uri></author><id>https://sourceforge.net84a83166f775c26d902ebbd9ede63aa77722f588</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#418 Add support for checking indentation</title><link href="https://sourceforge.net/p/codenarc/feature-requests/418/?limit=25#5065" rel="alternate"/><published>2018-05-28T00:28:56.631000Z</published><updated>2018-05-28T00:28:56.631000Z</updated><author><name>Chris Mair</name><uri>https://sourceforge.net/u/chrismair/</uri></author><id>https://sourceforge.netcd11227783c5fde74fbdfa0fc611ea7104480920</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Addressed in GitHub &lt;a class="" href="https://github.com/CodeNarc/CodeNarc/issues/271" rel="nofollow"&gt;#271&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#335 Ignore MethodName for all Spec method</title><link href="https://sourceforge.net/p/codenarc/feature-requests/335/?limit=25#2da6" rel="alternate"/><published>2017-11-10T15:20:00.761000Z</published><updated>2017-11-10T15:20:00.761000Z</updated><author><name>Chris Mair</name><uri>https://sourceforge.net/u/chrismair/</uri></author><id>https://sourceforge.netcbbc8dc70a716cfffdd22c4beac2cc26aa4648c1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See &lt;a href="https://github.com/CodeNarc/CodeNarc/issues/261." rel="nofollow"&gt;https://github.com/CodeNarc/CodeNarc/issues/261.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#335 Ignore MethodName for all Spec method</title><link href="https://sourceforge.net/p/codenarc/feature-requests/335/?limit=25#5607" rel="alternate"/><published>2017-11-10T11:29:10.165000Z</published><updated>2017-11-10T11:29:10.165000Z</updated><author><name>Charles</name><uri>https://sourceforge.net/u/amiracam/</uri></author><id>https://sourceforge.net554b8220cff8a363f418924dcbbba53252afb760</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;++ Spock support would be great&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#437 New MethodNameInCamelCaseRule rule</title><link href="https://sourceforge.net/p/codenarc/feature-requests/437/?limit=25#f49b" rel="alternate"/><published>2016-05-16T00:04:33.272000Z</published><updated>2016-05-16T00:04:33.272000Z</updated><author><name>Chris Mair</name><uri>https://sourceforge.net/u/chrismair/</uri></author><id>https://sourceforge.netf1af19d5cacc40218f96002efddf06ccdd416953</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The CodeNarc repo is now on GitHub:&lt;br/&gt;
&lt;a href="https://github.com/CodeNarc/CodeNarc" rel="nofollow"&gt;https://github.com/CodeNarc/CodeNarc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My apologies for not making that more obvious on the SourceForge site. Are you able to submit a GitHub pull request instead?&lt;/p&gt;
&lt;p&gt;And I cannot yet understand how MethodNameInCamelCaseRule actually works, given the code in that patch file, but maybe I am missing something.&lt;/p&gt;
&lt;p&gt;Thanks for the contribution.&lt;br/&gt;
Chris&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>New MethodNameInCamelCaseRule rule</title><link href="https://sourceforge.net/p/codenarc/feature-requests/437/" rel="alternate"/><published>2016-05-13T09:52:37.095000Z</published><updated>2016-05-13T09:52:37.095000Z</updated><author><name>Riddhi Gandhi</name><uri>https://sourceforge.net/u/riddhi-300790/</uri></author><id>https://sourceforge.netb6fb4f5b4083b5e8ed104543679dc72456e69154</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I have added a new rule "MethodNameInCamelCase", I've added a patch here.. Please add!&lt;br/&gt;
Thanks in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#335 Ignore MethodName for all Spec method</title><link href="https://sourceforge.net/p/codenarc/feature-requests/335/?limit=25#ae34" rel="alternate"/><published>2015-08-15T16:57:37.441000Z</published><updated>2015-08-15T16:57:37.441000Z</updated><author><name>Rick Jensen</name><uri>https://sourceforge.net/u/cdeszaq/</uri></author><id>https://sourceforge.nete3fc43cc109910c51dd379a33dd004c6958141cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A set of rules that "play nice" with Spock tests would be a big help. Spock tests often have strange method signatures in that they usually start with "def" and have strings for method names, which don't fit the "normal" method name regex.&lt;/p&gt;
&lt;p&gt;Simply setting these existing rules to not be applied to Spec files isn't quite sufficient, since there are often helper methods defined in the Spec files that would be nice to apply the "normal" rules to.&lt;/p&gt;
&lt;p&gt;There are also a number of rules that are "best practices" or at least suggested formatting rules that I've not been able to find a rule set for, but would be great to have available for me, my team, and I'm sure many others.&lt;/p&gt;
&lt;p&gt;I'm fully behind not mixing framework-specific logic into the generic rules, but having framework-specific versions of those rules like for the Grails-specific ruleset, or control points on the generic rules that allow them to be sufficiently targeted would be a big help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#301 Switch to use Groovy-Eclipse compiler for build</title><link href="https://sourceforge.net/p/codenarc/feature-requests/301/?limit=25#9e90" rel="alternate"/><published>2015-02-28T14:21:10.219000Z</published><updated>2015-02-28T14:21:10.219000Z</updated><author><name>Chris Mair</name><uri>https://sourceforge.net/u/chrismair/</uri></author><id>https://sourceforge.net9465d3714419defa28094d4c478d819150d45461</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Chris Mair&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#301 Switch to use Groovy-Eclipse compiler for build</title><link href="https://sourceforge.net/p/codenarc/feature-requests/301/?limit=25#9955" rel="alternate"/><published>2015-02-28T14:20:54.659000Z</published><updated>2015-02-28T14:20:54.659000Z</updated><author><name>Chris Mair</name><uri>https://sourceforge.net/u/chrismair/</uri></author><id>https://sourceforge.netaafd05249b4e9b804f8a8ecc740409058f32b2a5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Cosed as duplicate of&lt;br /&gt;
&lt;a href="https://github.com/CodeNarc/CodeNarc/issues/87" rel="nofollow"&gt;https://github.com/CodeNarc/CodeNarc/issues/87&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#436 exclude Grails src/templates dir</title><link href="https://sourceforge.net/p/codenarc/feature-requests/436/?limit=25#85f9" rel="alternate"/><published>2015-02-11T23:27:30.933000Z</published><updated>2015-02-11T23:27:30.933000Z</updated><author><name>Chris Mair</name><uri>https://sourceforge.net/u/chrismair/</uri></author><id>https://sourceforge.netc1af1b007178d6b8a083a672520d7839cbafb096</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thats correct, I use the Sonar Groovy Plugin and sonar-runner within Jenkins as a Post build standalone task. This way (on Sonar 5.0), multi-language tests are performed out of the box dependent on the plugins installed in Sonar, so we can test Groovy, Java, Javascript, XML and CSS files automatically. &lt;/p&gt;
&lt;p&gt;I played around with the sonar.sources and sonar.exclusions properties and figured out that sonar.exclusions seem to be ignored by codenarc.&lt;/p&gt;
&lt;p&gt;So using &lt;/p&gt;
&lt;p&gt;sonar.sources=src/java,src/groovy,grails-app/services,grails-app/controllers,grails-app/domain,grails-app/taglib,grails-app/assets, grails-app/conf&lt;/p&gt;
&lt;p&gt;did the trick. This way, you can avoid the template compilation errors.&lt;br /&gt;
Disadvantage is, that you need to add new source directories and files to sonar.sources manually.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>