jellyfin-web
jellyfin-web copied to clipboard
Replace "Object.assign()" With an Object Spread
Typically what I look for in these type of cleanup PRs is that they fix all instances of the issue and add an eslint rule (if possible) to prevent new instances from being added.
Thanks!
Typically what I look for in these type of cleanup PRs is that they fix all instances of the issue and add an eslint rule (if possible) to prevent new instances from being added.
* [all reported violations of this rule](https://sonarcloud.io/project/issues?resolved=false&rules=javascript%3AS6661&id=jellyfin_jellyfin-web) * [eslint rule](https://eslint.org/docs/latest/rules/prefer-object-spread)Thanks!
I believe I've changed all the usages. Added the eslint rule as well.
Cloudflare Pages deployment
| Latest commit | 9694462 |
|---|---|
| Status | ✅ Deployed! |
| Preview URL | https://156cc6aa.jellyfin-web.pages.dev |
| Type | 🔀 Preview |
Quality Gate passed
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.