jslint --edition=latest Unexpected ES6 feature. const
<p>I'm trying to use node-jslint <a href="https://github.com/reid/node-jslint" rel="noreferrer">https://github.com/reid/node-jslint</a> in order to keep my code clean </p>

<p>I've got a const in my nodejs script, but jslint says it isn't valid ES6 code</p>

<pre><code> Unexpected ES6 feature.
const pdPersonsFilterId = process.argv[2]; // Line 10, Pos 0
</code></pre>

<p>Here is the command I use in the console</p>

<pre><code>jslint --edition=latest index.js
</code></pre>

<p>According to the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const" rel="noreferrer">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const</a> it possible to use global constants.</p>

<p>Why does jslint does not consider this code to be valid?</p>