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.cjsfiles (#1355) ebdc3c2error-message: SupportAggregateError(#1351) e7b4300filename-case: Enforce lowercased file extension (#1336) 119615bexpiring-todo-comments: More helpful error when no conditions (#1375) 914a996prefer-array-someandprefer-regexp-test: Support Vue SFC (#1364) a46050eexplicit-length-check: Supportv-showdirective (#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-findandprefer-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
recommendedpreset.Improvements
... (truncated)
Commits
-
e41d1c734.0.0 -
f86f980Fix function nameisLeftHandSide(#1383) -
914a996expiring-todo-comments: More helpful error when no conditions (#1375) -
0c40db5empty-brace-spaces: Refactor (#1327) -
3d6a07aFix eslint.org links in readme (#1381) -
0ad09c8SnapshotRuleTester: Fixlinter.defineParser()(#1374) -
da1f6d8prefer-array-findandprefer-at: Fix crash on LHS zero index access (#1373) -
4c2971dno-for-loop: Don't useavaRuleTesterdirectly (#1372) -
6cf3cedcustom-error-definition: Don't useavaRuleTesterdirectly (#1371) -
cff1913no-abusive-eslint-disable: Don't useavaRuleTesterdirectly (#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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)