Skip to content

Conversation

@jacekradko
Copy link
Member

@jacekradko jacekradko commented Jan 7, 2025

Description

https://eslint.org/docs/latest/use/migrate-to-9.0.0

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2025

🦋 Changeset detected

Latest commit: 781925a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jan 7, 2025

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

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 6:06pm

@@ -1,4 +0,0 @@
module.exports = {
Copy link
Member Author

Choose a reason for hiding this comment

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

All configurations are now in the root eslint.config.mjs file

"lint": "node ./scripts/lint.mjs",
"lint:attw": "FORCE_COLOR=1 turbo lint:attw",
"lint:fix": "FORCE_COLOR=1 turbo lint -- --fix",
"lint:inspect": "pnpx @eslint/config-inspector@latest",
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a great way to find out what rules apply to specific files

Copy link
Member

Choose a reason for hiding this comment

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

til!

@jacekradko jacekradko marked this pull request as ready for review January 23, 2025 03:51
export * from './contexts';

export * from './hooks';
export { useEmailLink } from './hooks/useEmailLink';
Copy link
Contributor

Choose a reason for hiding this comment

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

Note for myself: Removal is fine since the splat export above covers it

export { deriveState } from './deriveState';
export * from './error';
export * from './file';
export { handleValueOrFn } from './utils/handleValueOrFn';
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this should be fine with #4972 merged now 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a duped export

Screenshot 2025-01-23 at 9 17 27 AM

export * from './logger';
export { createWorkerTimers } from './workerTimers';
export { DEV_BROWSER_JWT_KEY, extractDevBrowserJWTFromURL, setDevBrowserJWTInURL } from './devBrowser';
export { fastDeepMergeAndKeep, fastDeepMergeAndReplace } from './utils/fastDeepMerge';
Copy link
Contributor

Choose a reason for hiding this comment

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

This would require the same treatment as #4972, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Another duped export

Screenshot 2025-01-23 at 9 23 01 AM

@jacekradko jacekradko merged commit 8a8eb6d into main Jan 23, 2025
29 checks passed
@jacekradko jacekradko deleted the feat/eslint branch January 23, 2025 18:55
wobsoriano pushed a commit that referenced this pull request Feb 8, 2025
@dstaley dstaley restored the feat/eslint branch April 9, 2025 19:02
@dstaley dstaley deleted the feat/eslint branch April 9, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants