Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devx/add linter rules #331

Merged
merged 11 commits into from
Jun 15, 2023
Merged

Devx/add linter rules #331

merged 11 commits into from
Jun 15, 2023

Conversation

gozineb
Copy link
Contributor

@gozineb gozineb commented Jun 14, 2023

Description

  • Add prettier and fix script
  • Add more linter rules and fix script
  • Fix some previous linter errors.

Checklist before requesting a review

Please delete options that are not relevant.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented hard-to-understand areas
  • I have ideally added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Screenshots (if appropriate):

@vercel
Copy link

vercel bot commented Jun 14, 2023

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 9:51am
quivrapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 9:51am

Comment on lines 62 to 64
<Dialog.Close asChild>
{CloseTrigger ? (
{CloseTrigger === true ? (
CloseTrigger
Copy link
Contributor

Choose a reason for hiding this comment

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

Sure ?

Comment on lines 32 to 52
// export const googleModels = ["vertexai"] as const; // TODO activate when not in demo mode

// export const googleModels = [] as const;
export const googleModels = [] as const;
export const models = [
...openAiModels,
...anthropicModels,
...googleModels,
] as const;

export const paidModels= [
...openAiPaidModels,
...googleModels,
] as const;
export const paidModels = [...openAiPaidModels] as const;
Copy link
Contributor

Choose a reason for hiding this comment

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

More than linting here... sure ?

@gozineb gozineb force-pushed the devx/add-linter-rules branch from f0bd722 to b40da13 Compare June 15, 2023 09:49
@StanGirard StanGirard merged commit 1d7bc8a into main Jun 15, 2023
StanGirard pushed a commit that referenced this pull request Sep 12, 2023
* remove duplicate import

* 🚧 add new linter configuration

* 🧑‍💻  add and run prettier

* 🐛 add babel parser for linter

* 🧑‍💻 add lint-fix command

* 🚨 use lint-fix

* 🚨 remove 'FC' as a type. Use const and JSX.Element

* 🚨 enforce arrow function rule from linter

* 🔥 delete unused file

* 🚨 adding /* eslint-disable */ in failing files

* 💩 add ts-expect-error to Victory components
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.

3 participants