@uppy: upgrade biome and more improvements (#6244)

- This PR upgrades `biome` from `2.0.5` -> `2.1.2` and adds two new
rules
-
[noUnusedImports](https://biomejs.dev/linter/rules/no-unused-private-class-members)
( we already had suppressions for this rule in code, but the rule itself
was never enabled in the config )
-
[noUnusedPrivateClassMembers](https://biomejs.dev/linter/rules/no-unused-private-class-members/)
- remove stale suppressions. 
- remove stale code.

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
This commit is contained in:
Prakash 2026-05-21 09:58:03 +05:30 committed by GitHub
parent 9143d41bc2
commit 5519b84409
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
111 changed files with 432 additions and 449 deletions

View file

@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Uppy AWS upload example</title>
@ -24,7 +24,8 @@
</footer>
<noscript>You need JavaScript to run this example.</noscript>
<script type="module">
import { Uppy, Dashboard, AwsS3 } from './uppy.min.mjs'
import { AwsS3, Dashboard, Uppy } from './uppy.min.mjs'
function onUploadComplete(result) {
console.log(
'Upload complete! Weve uploaded these files:',
@ -34,7 +35,7 @@
function onUploadSuccess(file, data) {
console.log(
'Upload success! Weve uploaded this file:',
file.meta['name'],
file.meta.name,
)
}
{

View file

@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Uppy AWS upload example</title>
@ -16,7 +16,8 @@
</footer>
<noscript>You need JavaScript to run this example.</noscript>
<script type="module">
import { Uppy, Dashboard, AwsS3 } from './uppy.min.mjs'
import { AwsS3, Dashboard, Uppy } from './uppy.min.mjs'
/**
* This generator transforms a deep object into URL-encodable pairs
* to work with `URLSearchParams` on the client and `body-parser` on the server.
@ -258,7 +259,7 @@
uppy.on('upload-success', (file, data) => {
console.log(
'Upload success! Weve uploaded this file:',
file.meta['name'],
file.meta.name,
)
})
}