Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 31.0.0 to 34.0.0.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v34.0.0
New rules
no-array-method-this-argument
(#1357) 96587f2require-post-message-target-origin
(#1326) 03c540bprefer-top-level-await
(#1325) 05722a1
- Disabled in the recommended preset.
prefer-at
(#1331) 8ca5b46
- Disabled in the recommended preset.
Improvements
prefer-module
: Ignore.cjs
files (#1355) ebdc3c2error-message
: SupportAggregateError
(#1351) e7b4300filename-case
: Enforce lowercased file extension (#1336) 119615bexpiring-todo-comments
: More helpful error when no conditions (#1375) 914a996prefer-array-some
andprefer-regexp-test
: Support Vue SFC (#1364) a46050eexplicit-length-check
: Supportv-show
directive (#1363) f163c4aexplicit-length-check
: Support Vue SFC files (#1360) 9199611prefer-type-error
: Improve report location (#1354) bc3d58bno-useless-undefined
: IgnoreSet#add()
Map#set()
Array#{push,unshift}()
(#1353) c6359c3prefer-prototype-methods
: Only check methods from[]
and{}
(#1347) 29a4e75prefer-array-some
: Report non-zero check onarray.filter().length
(#1337) f8aaac2- Use
context.getPhysicalFilename()
(#1344) e2540cbFixes
prefer-array-find
andprefer-at
: Fix crash on LHS zero index access (#1373) da1f6d8prefer-prototype-methods
: Fix a missing condition on object literal check (#1332) cec7f11https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v33.0.1...v34.0.0
v33.0.1
prefer-prototype-methods
: Ignore known object literal methods (#1330) 639e7afhttps://github.com/sindresorhus/eslint-plugin-unicorn/compare/v33.0.0...v33.0.1
v33.0.0
New rules
require-array-join-separator
(#1284) 36e7103require-number-to-fixed-digits-argument
(#1288) 4a30863prefer-prototype-methods
(#1247) 7bde733prefer-object-has-own
(#1322) ca34b40
- Not enabled in the
recommended
preset.Improvements
... (truncated)
Commits
-
e41d1c7
34.0.0 -
f86f980
Fix function nameisLeftHandSide
(#1383) -
914a996
expiring-todo-comments
: More helpful error when no conditions (#1375) -
0c40db5
empty-brace-spaces
: Refactor (#1327) -
3d6a07a
Fix eslint.org links in readme (#1381) -
0ad09c8
SnapshotRuleTester
: Fixlinter.defineParser()
(#1374) -
da1f6d8
prefer-array-find
andprefer-at
: Fix crash on LHS zero index access (#1373) -
4c2971d
no-for-loop
: Don't useavaRuleTester
directly (#1372) -
6cf3ced
custom-error-definition
: Don't useavaRuleTester
directly (#1371) -
cff1913
no-abusive-eslint-disable
: Don't useavaRuleTester
directly (#1370) - 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)