Update documentation

TRAVIS_JOB_NUMBER=5158.2
TRAVIS_COMMIT_RANGE=6127add18ee4...80df45b2e529
This commit is contained in:
Travis CI (pmd-bot)
2020-04-20 10:12:15 +00:00
parent 0ff4504ad7
commit 2b20d50754
3 changed files with 18 additions and 5 deletions

View File

@@ -5,8 +5,8 @@
<description>Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features.</description>
<link>https://pmd.github.io/pmd/</link>
<atom:link href="https://pmd.github.io/pmd/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Mon, 20 Apr 2020 09:16:56 +0000</pubDate>
<lastBuildDate>Mon, 20 Apr 2020 09:16:56 +0000</lastBuildDate>
<pubDate>Mon, 20 Apr 2020 10:11:38 +0000</pubDate>
<lastBuildDate>Mon, 20 Apr 2020 10:11:38 +0000</lastBuildDate>
<generator>Jekyll v3.8.5</generator>
</channel>

View File

@@ -1439,6 +1439,13 @@ not change the result of your rules</em>, if it does, please report a bug at htt
<p>Note that XPath 1.0 support, the default XPath version, is deprecated since PMD 6.22.0.
<strong>We highly recommend that you upgrade your rules to XPath 2.0</strong>. Please refer to the <a href="https://pmd.github.io/latest/pmd_userdocs_extending_writing_xpath_rules.html#migrating-from-10-to-20">migration guide</a>.</p>
<h4 id="javascript-improvements-for-es6">Javascript improvements for ES6</h4>
<p>PMD uses the <a href="https://github.com/mozilla/rhino">Rhino</a> library to parse Javascript.
The default version has been set to <code class="highlighter-rouge">ES6</code>, so that some ECMAScript 2015 features are
supported. E.g. <code class="highlighter-rouge">let</code> statements and <code class="highlighter-rouge">for-of</code> loops are now parsed. However Rhino does
not support all features.</p>
<h4 id="new-rules">New Rules</h4>
<ul>
@@ -1510,6 +1517,12 @@ local variables.</p>
<li><a href="https://github.com/pmd/pmd/issues/2313">#2313</a>: [java] Documenation for DoNotUseThreads is outdated</li>
</ul>
</li>
<li>javascript
<ul>
<li><a href="https://github.com/pmd/pmd/issues/1235">#1235</a>: [javascript] Use of let results in an Empty Statement in the AST</li>
<li><a href="https://github.com/pmd/pmd/issues/2379">#2379</a>: [javascript] Support for-of loop</li>
</ul>
</li>
<li>javascript-errorprone
<ul>
<li><a href="https://github.com/pmd/pmd/issues/384">#384</a>: [javascript] Trailing commas not detected on French default locale</li>

View File

@@ -1474,8 +1474,8 @@ usage is likely a bug, or at best poor style.</p>
<tbody>
<tr>
<td>rhinoLanguageVersion</td>
<td>default</td>
<td>Specifies the Rhino Language Version to use for parsing. Defaults to Rhino default.</td>
<td>ES6</td>
<td>Specifies the Rhino Language Version to use for parsing. Defaults to ES6.</td>
<td>no</td>
</tr>
<tr>
@@ -1500,7 +1500,7 @@ usage is likely a bug, or at best poor style.</p>
<p><strong>Use this rule and customize it:</strong></p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;rule</span> <span class="na">ref=</span><span class="s">"category/ecmascript/bestpractices.xml/ConsistentReturn"</span><span class="nt">&gt;</span>
<span class="nt">&lt;properties&gt;</span>
<span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"rhinoLanguageVersion"</span> <span class="na">value=</span><span class="s">"default"</span> <span class="nt">/&gt;</span>
<span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"rhinoLanguageVersion"</span> <span class="na">value=</span><span class="s">"ES6"</span> <span class="nt">/&gt;</span>
<span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"recordingLocalJsDocComments"</span> <span class="na">value=</span><span class="s">"true"</span> <span class="nt">/&gt;</span>
<span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"recordingComments"</span> <span class="na">value=</span><span class="s">"true"</span> <span class="nt">/&gt;</span>
<span class="nt">&lt;/properties&gt;</span>