Update eslint-plugin-unicorn → 48.0.0 (unknown) #199
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ eslint-plugin-unicorn (^43.0.2 → ^48.0.0) · Repo
Release Notes
48.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 60 commits:
48.0.0
Fix docs
Replace `context.getSource` with `sourceCode.getText` (#2174)
Remove use of deprecated methods (#2173)
`prefer-dom-node-dataset`: Fix edge cases (#2171)
`prefer-dom-node-dataset`: Remove broken fix for `element.setAttribute` (#2169)
`no-lonely-if`: Fix an edge case (#2168)
Update dependencies, update ES version in `env` (#2170)
Update `eslint-remote-tester-run-action` to v4 (#2145)
`prefer-top-level-await`: Ignore promises inside `Promise.{all,allSettled,any,race}()` (#2139)
Remove `safe-regex` (#2140)
`no-useless-undefined`: Turn parameter with `undefined` default value into optional parameter (#2138)
Deprecate `no-unsafe-regex` rule (#2135)
`explicit-length-check`: Ignore `.length || number` (#1977)
`no-process-exit`: Ignore when using `node:worker_threads` module (#2136)
Remove outdated node type check (#2137)
Use simple selectors (#2134)
Simplify `reportListenerProblems` (#2132)
`no-thenable`: Fix `Object.fromEntries()` check (#2130)
Fix crash on array holes (#2129)
Fix coverage report (#2131)
Use `Intl.ListFormat#format` (#2122)
Remove selector helpers (#2128)
`import-style`: use simple selectors (#2127)
Update internal rule `fix-snapshot-test` (#2121)
`no-thenable`: Use simple selector (#2126)
`no-useless-spread`: Refactor to use simple selectors (#2125)
Refactor to use simple selectors (#2124)
`empty-brace-spaces`: Use simple selector (#2123)
Refactor `simpleArraySearchRule` (#2111)
Remove use of `memberExpressionSelector` (#2120)
Refactor to use simple selectors (#2119)
`no-array-callback-reference`: Use simple selector (#2118)
Refactor to use simple selectors (#2116)
`no-nested-ternary`: Use simple selector (#2115)
`no-lonely-if`: Use simple selector (#2114)
`no-invalid-remove-event-listener`: Use simple selector (#2113)
`catch-error-name`: Use simple selector (#2112)
`prefer-date-now`: Use simple selectors (#2110)
`no-null`: Use simple selector (#2109)
Add `isReferenceIdentifier` to replace selectors (#2108)
Remove use of `empty{Array,Object}Selector` (#2107)
Replace `newExpressionSelector` with `isNewExpression` (#2106)
Remove unused `objectPrototypeMethodSelector` (#2104)
Replace `callOrNewExpressionSelector` with `isCallOrNewExpression` (#2105)
Replace `arrayPrototypeMethodSelector` with `isArrayPrototypeProperty` (#2103)
Refactor to avoid use complex selectors (#2101)
`require-array-join-separator`: Use simple selector (#2102)
Simplify `isMemberExpression` and `isMethodCall` (#2100)
Use `isNodeValueNotDomNode` instead of selectors (#2099)
Use `isStaticRequire` instead of selectors (#2096)
`prefer-array-some`: Ignore filter calls with literal argument (#2097)
Add `isNodeValueNotFunction` to replace selectors (#2095)
Add `isMethodCall` to replace selectors (#2094)
Add `isMemberExpression` to replace selectors (#2093)
Add `is{Call,New}Expression` to replace selectors (#2083)
`prefer-dom-node-remove`: Fix incorrect auto-fix (#2084)
Add metadata to plugin (#2086)
`prefer-modern-math-api`: Check cases that `Math.hypot()` should be preferred (#2080)
Remove use of deprecated methods, require eslint>=8.40.0 (#2081)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands