tag:github.com,2008:https://github.com/strvcom/eslint-config-javascript/releasesRelease notes from eslint-config-javascript2019-02-01T17:30:36Ztag:github.com,2008:Repository/45316694/9.2.02019-02-01T17:36:11Z9.2.0<h3>Fixes</h3>
<ul>
<li>Fix development-only scripts preventing this project from being installed directly from Github</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Replace the now-deprecated <code>typescript-eslint-parser</code> with <code>@typescript-eslint/parser</code> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/honzahovorka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/honzahovorka">@honzahovorka</a> 🍻)</li>
</ul>robertrossmanntag:github.com,2008:Repository/45316694/9.1.12018-12-13T14:34:02Z9.1.1<p>chore: enlightenment level 9.1.1</p>robertrossmanntag:github.com,2008:Repository/45316694/9.1.02018-11-19T09:27:23Z9.1.0<h3>Changes</h3>
<ul>
<li><em>(mocha)</em> When using the <a href="https://github.com/strvcom/eslint-config-javascript/tree/master/environments/mocha"><code>mocha</code></a> environment preset, <code>max-nested-callbacks</code> now allows up to 6 nested callbacks</li>
<li><em>(react)</em> The <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-dom-props.md"><code>react/forbid-dom-props</code></a> is now enabled and prevents you from using plain DOM nodes with either <code>id</code> or <code>style</code> props (React components are not affected by this rule)</li>
</ul>robertrossmanntag:github.com,2008:Repository/45316694/9.0.02018-10-29T23:28:19Z9.0.0<p>This major upgrade brings all the bundled plugins up to date with new rules and updated configuration, so we can all enjoy even more thorough code checks on our projects! 🎨</p>
<p>Also, the <code>node</code> environment preset now includes <a href="https://github.com/mysticatea/eslint-plugin-node"><code>eslint-plugin-node</code></a> for enhanced Node.js-related code analysis, like unsupported syntax/builtins/globals on specific Node.js runtimes or warnings on deprecated API usage.</p>
<h3>Breaking changes</h3>
<ul>
<li>Some rules, especially from the <code>eslint-plugin-mocha</code> plugin have been increased from <code>warn</code> to <code>error</code> level</li>
<li>Upgraded <code>eslint-plugin-react</code> to latest and greatest version and added some new rules with <code>error</code> level</li>
<li>Upgraded <code>eslint-plugin-flowtype</code> to latest greatest version which contained some breaking parsing changes</li>
<li>Added <code>eslint-plugin-node</code> plugin to the <code>node</code> environment preset 🎉 💪</li>
</ul>
<h3>Upgrading</h3>
<h4>Easy way</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm i -D eslint@latest @strv/eslint-plugin-javascript@latest"><pre class="notranslate"><code>npm i -D eslint@latest @strv/eslint-plugin-javascript@latest
</code></pre></div>
<h4>Hard way</h4>
<p>In case the above does not work (you get errors about unknown rules being used or "cannot find module x") you might have to drop the whole ruleset from your project first:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm remove eslint @strv/eslint-config-javascript
rm -rf node_modules
npm i && npm i -D eslint@latest @strv/eslint-plugin-javascript@latest"><pre class="notranslate"><code>npm remove eslint @strv/eslint-config-javascript
rm -rf node_modules
npm i && npm i -D eslint@latest @strv/eslint-plugin-javascript@latest
</code></pre></div>robertrossmanntag:github.com,2008:Repository/45316694/8.3.12018-10-23T08:10:13Z8.3.1<h3>Fixes</h3>
<ul>
<li>The <code>typescript</code> ruleset did not include configuration for the <code>import/resolver</code>, causing the <code>import/no-unresolved</code> rule to not properly work because it would ignore <em>.ts</em> and <em>.d.ts</em> files</li>
</ul>robertrossmanntag:github.com,2008:Repository/45316694/8.3.02018-09-04T08:26:24Z8.3.0<h3>New rulesets</h3>
<p><a href="https://github.com/strvcom/eslint-config-javascript/tree/master/environments/typescript"><strong>TypeScript ruleset</strong></a> is now available! 🎉 Still somewhat experimental - please report any issues or false-positives that you find in your code.</p>
<h3>Rule changes</h3>
<ul>
<li><code>id-length</code>: Now allows up to 30 characters max (up from 25) and allows the following single-character identifiers: <code>i</code> (index), <code>R</code> (Ramda 😍), <code>_</code> (lodash 💩), <code>$</code> (jQuery & family 🤮)</li>
</ul>robertrossmanntag:github.com,2008:Repository/45316694/8.2.02018-08-22T09:26:59Z8.2.0<h3>New environments</h3>
<p><a href="https://github.com/strvcom/eslint-config-javascript/tree/master/environments/mocha"><code>@strv/javascript/environments/mocha/recommended</code></a> environment has been added for <a href="https://mochajs.org" rel="nofollow">Mocha</a> test files 🎨</p>
<p>See the configuration file linked above for details about which rules have been enabled. All rules will only report <code>warning</code> so adding this ruleset will not break your CI pipeline.</p>
<blockquote>
<p><g-emoji class="g-emoji" alias="warning">⚠️</g-emoji> Some rules from this ruleset will be bumped to <code>error</code> level on the next semver-major release of this package.</p>
</blockquote>robertrossmanntag:github.com,2008:Repository/45316694/8.1.02018-08-15T15:23:56Z8.1.0<h3>Rule changes</h3>
<ul>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/strvcom/eslint-config-javascript/commit/d8b96fd76777f37613700602e456f114666dd1c4/hovercard" href="https://github.com/strvcom/eslint-config-javascript/commit/d8b96fd76777f37613700602e456f114666dd1c4"><tt>d8b96fd</tt></a> - feat(rule): add require-unicode-regexp (warn)</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/strvcom/eslint-config-javascript/commit/2bb65c216e59f33677da797086340835e036f06b/hovercard" href="https://github.com/strvcom/eslint-config-javascript/commit/2bb65c216e59f33677da797086340835e036f06b"><tt>2bb65c2</tt></a> - feat(rule): add require-atomic-updates (warn)</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/strvcom/eslint-config-javascript/commit/6b2aabd978fceb44b5c934ad8b1fdc1ee2d5bb80/hovercard" href="https://github.com/strvcom/eslint-config-javascript/commit/6b2aabd978fceb44b5c934ad8b1fdc1ee2d5bb80"><tt>6b2aabd</tt></a> - feat(rule): add no-misleading-character-class (error)</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/strvcom/eslint-config-javascript/commit/20155f11e0bf21a139b20ecf3d453f3df11e3419/hovercard" href="https://github.com/strvcom/eslint-config-javascript/commit/20155f11e0bf21a139b20ecf3d453f3df11e3419"><tt>20155f1</tt></a> - feat(rule): add no-async-promise-executor (warn)</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/strvcom/eslint-config-javascript/commit/91ad0fa3e23421088e9bb29810c89d7e399a49b8/hovercard" href="https://github.com/strvcom/eslint-config-javascript/commit/91ad0fa3e23421088e9bb29810c89d7e399a49b8"><tt>91ad0fa</tt></a> - feat(rule): make no-shadow more strict</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/strvcom/eslint-config-javascript/commit/069079aac4fbdb393ebff3cb3c1b7efd0150308b/hovercard" href="https://github.com/strvcom/eslint-config-javascript/commit/069079aac4fbdb393ebff3cb3c1b7efd0150308b"><tt>069079a</tt></a> - feat(rule): no-catch-shadow has been deprecated</li>
</ul>robertrossmanntag:github.com,2008:Repository/45316694/8.0.42018-07-18T09:53:16Z8.0.4<p>chore: enlightenment level 8.0.4</p>robertrossmanntag:github.com,2008:Repository/45316694/8.0.32018-07-17T16:02:05Z8.0.3: build: update npm token<p>The old one got invalidated by npm due to security incident elsewhere in the ecosystem.</p>robertrossmann