Skip to content

Conversation

@david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Oct 26, 2023

Closes #1789

https://typescript-eslint.io/blog/announcing-typescript-eslint-v6

Not that interesting — honestly thought there would be more to it. I put us on @typescript-eslint/strict and @typescript-eslint/stylistic and only had to turn off two rules. All the comma noise is due to Prettier 3.0.

@vercel
Copy link

vercel bot commented Oct 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Oct 26, 2023 2:43am

typescript: combinedParser,
},
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an issue anymore, that's nice

@david-crespo david-crespo changed the title typescript-eslint v6 typescript-eslint v6 + prettier 3.0 Oct 26, 2023
"@babel/preset-typescript"
],
"plugins": ["@babel/plugin-transform-runtime", "@babel/plugin-proposal-class-properties"]
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

99% sure this was not being used for anything?

typeof structuredClone !== 'undefined'
? structuredClone(obj)
: JSON.parse(JSON.stringify(obj))

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was kind of interesting — my switch to Map for db.diskBulkImportState would not work with this JSON.parse(JSON.stringify(obj)) fallback. Fortunately I don't think there is any situation where this code would hit the fallback. Two-year-old browsers only, basically.

https://caniuse.com/mdn-api_structuredclone

@david-crespo david-crespo enabled auto-merge (squash) October 26, 2023 02:53
@david-crespo david-crespo merged commit eee0eb2 into main Oct 26, 2023
@david-crespo david-crespo deleted the upgrade-ts-eslint branch October 26, 2023 02:58
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Nov 4, 2023
oxidecomputer/console@bd65b9d...ae8218d

* [ae8218df](oxidecomputer/console@ae8218df) bump msw to 2.0.3 for the real safari fix
* [9a3f95a9](oxidecomputer/console@9a3f95a9) reduce dev console noise about local assets not served by MSW
* [a61ecf24](oxidecomputer/console@a61ecf24) oxidecomputer/console#1809
* [50f3a5b2](oxidecomputer/console@50f3a5b2) bump recharts and react query
* [1a2b5656](oxidecomputer/console@1a2b5656) oxidecomputer/console#1808
* [4c01cd68](oxidecomputer/console@4c01cd68) oxidecomputer/console#1800
* [57cc1892](oxidecomputer/console@57cc1892) oxidecomputer/console#1802
* [47d76dbf](oxidecomputer/console@47d76dbf) oxidecomputer/console#1806
* [eee0eb2e](oxidecomputer/console@eee0eb2e) oxidecomputer/console#1805
* [60c2285e](oxidecomputer/console@60c2285e) oxidecomputer/console#1804
* [d9cf1ef1](oxidecomputer/console@d9cf1ef1) bump sort imports plugin for vuln
* [ba3a383e](oxidecomputer/console@ba3a383e) bump playwright to 1.39 (fix issue with z-index test)
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade typescript-eslint and rework config

2 participants