jest-location-mock
jest-location-mock copied to clipboard
Upgrade(dev): Bump eslint-plugin-unicorn from 32.0.1 to 40.1.0
Bumps eslint-plugin-unicorn from 32.0.1 to 40.1.0.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v40.1.0
expiring-todo-comments
: Adddate
option (#1683) 16bc33aconsistent-function-scoping
: AllowReact.useHook
(#1691) e910633no-useless-undefined
: AllowReact.createContext(undefined)
(#1688) 40bc603https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v40.0.0...v40.1.0
v40.0.0
New rules
no-thenable
(#1616) c318644no-useless-promise-resolve-reject
(#1623) 054436erelative-url-style
(#1672) 6ab705bprefer-json-parse-buffer
(#1676) 84c9c70Improvements
prefer-object-has-own
: Deprecate in favor of the built-inprefer-object-has-own
rule (#1646) e59a856filename-case
: Ignore$
in filenames (#1628) a43a174no-useless-promise-resolve-reject
: Detect unnecessaryPromise.resolve
/reject
in promise callback functions (#1666) f6215f3prefer-export-from
: Support import assertions (#1618) 1d7a6b6prefer-top-level-await
: Improve top-level expression detection (#1526) b054d65prefer-dom-node-dataset
: Check.hasAttribute()
and.getAttribute()
(#1673) 152f153prefer-dom-node-dataset
: Check.removeAttribute()
(#1668) 22d8d03prefer-string-slice
: Improve fix (#1675) 267115aprefer-math-trunc
: Improve fix logic (#1670) 784c7a8prefer-string-slice
: Improve argument type detection (#1664) 03b0946prefer-add-event-listener
: Remove fix foronerror
(#1650) 7bf63bbno-array-push-push
: Ignoreprocess.{stdin,stdout,stderr}
(#1654) 10ad699no-new-array
&no-new-buffer
: Improve argument type detection (#1648) 9b04e43no-array-for-each
: IgnorepIteration.forEach
(#1649) 2b92385no-array-callback-reference
: Ignore primitive wrappers inArray#map()
(#1642) 0362c09prefer-export-from
: Support "string literal specifier" (#1636) 0866b41template-indent
: Check Jest inline snapshots by default (#1637) 64460e2Fixes
prefer-dom-node-dataset
: Fix name conversion (#1674) 7fb6f7bprefer-export-from
: Fix crash in TypeScript files (#1647) 1ff8e42https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v39.0.0...v40.0.0
v39.0.0
New rules
prefer-code-point
(#1584) 31c83cdno-await-expression-member
(#1586) 0485924Improvements
... (truncated)
Commits
ab78c0d
40.1.04e005d8
Fix quote type in docs0a81ce5
no-array-callback-reference
: remove superfluous argument (#1692)16bc33a
expiring-todo-comments
: Adddate
option (#1683)3286381
Refactorgenerate-rules-table
script (#1682)57bd00e
Replace nyc with c8 (#1686)e910633
AllowReact.useHook
inconsistent-function-scoping
(#1691)40bc603
AllowReact.createContext(undefined)
inno-useless-undefined
(#1688)3c00345
Replace_.uniq
with native (#1687)d9fd664
Update ESLint to v8.6.0 (#1681)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)