Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 42.0.0 to 43.0.1.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v43.0.1
- Remove
prefer-event-target
from the recommended preset 4d2faac
EventTarget
requires Node.js 16 and we target Node.js 14. We'll enable it again in a year when we can target Node.js 16.https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.0...v43.0.1
v43.0.0
New rules
prefer-logical-operator-over-ternary
(#1830) 5d7e622prefer-event-target
(#1792) 166524aBreaking
- Require Node.js 14
Improvements
- Add
prefer-top-level-await
rule to recommended preset (#1803) 6f5ecf5- Deprecate
import-index
rule (#1787) 0034e69- Update abbreviations to support Next.js functions (#1804) 4b96057
text-encoding-identifier-case
: Ignore JSXmeta[charset="utf-8"]
(#1817) c67a70fprefer-number-properties
: Check any use of global functions (#1834) 51d7e06prefer-number-properties
: Detect usage via global object (#1832) 80c4af2no-array-for-each
: Check reassign infor..in
andfor..of
(#1824) d3b2548no-useless-undefined
: Ignoreref(undefined)
in Vue project (#1828) e7306e5prefer-node-protocol
: Always checkrequire()
(#1827) 2c914d4no-array-for-each
: Improve parameter reassign detection (#1823) 56df468no-array-for-each
: Add fix for arrow function body (#1785) 59218e3Fixes
no-array-for-each
: Fix auto-fix causing SyntaxError (#1813) 47c8337https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v42.0.0...v43.0.0
Commits
-
384ff68
43.0.1 -
4d2faac
Removeprefer-event-target
from the recommended preset -
2ba0335
43.0.0 -
5d7e622
Addprefer-logical-operator-over-ternary
rule (#1830) -
75c9214
Update dependencies (#1849) -
ff286a1
Update babel (#1848) -
ca4ab29
Fix typo infilename-case
docs (#1847) -
a7f6007
Update eslint-remote-tester to 3.0.0 (#1846) -
c67a70f
text-encoding-identifier-case
: Ignore JSXmeta[charset="utf-8"]
(#1817) -
51d7e06
prefer-number-properties
: Check any use of global functions (#1834) - Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)