Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 31.0.0 to 33.0.1.
Release notes
Sourced from eslint-plugin-unicorn's releases.
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
no-array-for-each
: Handle only return statement insideif
orelse
(#1319) 298a104new-for-builtins
&no-new-buffer
: Handle line breaks afternew
keyword (#1301) d37439fprefer-array-flat-map
: Remove check on[].concat(...array.map(…))
(#1299) 128b5aaprefer-spread
: Ignore{arrayBuffer,blob,buffer,file,this}.slice()
(#1287) e18d5f2prefer-string-starts-ends-with
: Add suggestions for safely handling non-strings (#1277) f14a9d1explicit-length-check
: Ignorethis.{size,length}
(#1289) ed85d00prefer-string-starts-ends-with-rule
: Don't autofix known non-string values (#1281) a1c8984explicit-length-check
: Ignore known, non-number length properties (#1264) 42f6487empty-brace-spaces
: Support experimental syntax (#1276) fa68b6fprefer-dom-node-remove
: Improve parentheses handling (#1254) 74e4d39Fixes
prefer-array-flat
: Fix incorrect fix, checkArray.prototype.concat.call
(#1317) f6a939chttps://github.com/sindresorhus/eslint-plugin-unicorn/compare/v32.0.1...v33.0.0
v32.0.1
prevent-abbreviations
: Fix shorthand import/export detection (#1252) 4367479https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v32.0.0...v32.0.1
v32.0.0
Breaking
- Drop support for Node.js v10 (#1211) a8e9f26
- Drop support for
babel-eslint
(#1211) a8e9f26 You should migrate to@babel/eslint-parser
New rules
no-document-cookie
(#1244) 866c4a3numeric-separators-style
- Was previously disabled.prefer-array-flat
- Was previously disabled.
... (truncated)
Commits
-
cfd31a5
33.0.1 -
639e7af
prefer-prototype-methods
: Ignore known object literal methods (#1330) -
7d4165c
33.0.0 -
ca34b40
Addprefer-object-has-own
rule (#1322) -
e38769c
Updateprefer-array-find
examples (#1324) -
34e06d9
Tweak CI settings (#1293) -
660b657
Improve coverage (#1321) -
c0e6f99
Ensure no unexpected properties present in snapshot tests (#1320) -
298a104
no-array-for-each
: Handle only return statement insideif
orelse
(#1319) -
f6a939c
prefer-array-flat
: Fix incorrect fix, checkArray.prototype.concat.call
(... - 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)