chore(repo): Extend linting - #1906
Conversation
🦋 Changeset detectedLatest commit: 2ae8894 The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
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 |
|
How much of an effort would it be to to not use |
@LekoArts Not much of an effort, but it would make the |
32cf88c to
3998f07
Compare
| updated_at: number; | ||
| } | ||
|
|
||
| export interface OrganizationSuggestionJSON extends ClerkResourceJSON { |
There was a problem hiding this comment.
Note: This is an exact copy of the interface above it which ESLint didn't catch until now.
|
Is the addition of In CI you could still cache the |
@LekoArts There's actually no noticeable difference. I should note that |
|
The integration folder doesn't have a |
Ah, you are correct, it's a remnant of a past commit. Updated, thanks! |
Description
Our current ESLint configuration was global which left a lot to be desired as each of our packages have unique requirements.
This PR extends leans on a generic set of ESLint configurations while also allowing for a lot of customizability at both the ESLint "feature"-level as well as the package-level.
Please focus on this commit as these are the changes: f2c3b64
The other changes are to appease Prettier.
Please Note:
In an effort to keep this PR as minimal as possible, I've disabled a number of rules. The plan is to re-enable them via follow-on PRs.)
Other Notes:
/integrationdirectory has been factored into NPM workspaces and, ultimately, Turborepo. This doesn't have any tangible change other than running linting along with the packages.tsconfig.lint.json. If that does not exists, it moves on totsconfig.json. ThelintTSConfig was required in a few cases as the default one wasn't permissive enough with it'sincludes/excludes.Checklist
npm testruns as expected.npm run buildruns as expected.Type of change
Packages affected
@clerk/clerk-js@clerk/clerk-react@clerk/nextjs@clerk/remix@clerk/types@clerk/themes@clerk/localizations@clerk/clerk-expo@clerk/backend@clerk/clerk-sdk-node@clerk/shared@clerk/fastify@clerk/chrome-extensiongatsby-plugin-clerkbuild/tooling/chore