-
Notifications
You must be signed in to change notification settings - Fork 574
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
shared eslint setup #1902
shared eslint setup #1902
Conversation
|
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-yoga/apollo-link |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/urql-exchange |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/common |
3.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/redis-event-target |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/typed-event-target |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/graphiql |
3.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
graphql-yoga |
3.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/node |
3.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apollo-inline-trace |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apq |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-persisted-operations |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-response-cache |
1.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/render-graphiql |
3.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/subscription |
3.0.0-alpha-20221017184800-e477275f |
npm ↗︎ unpkg ↗︎ |
✅ Benchmark Results
|
@@ -1,3 +1,4 @@ | |||
/* eslint-disable */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can still lint examples, to avoid future errors, some things we can explicitly ignores like eslint-disable-next-line
or eslint-disable-line
but not full file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these node
examples it was complaining a lot about require
not defined and do not use require
so I decide to disable linting on full example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not to replace require with importing examples? Since node 12 is deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn’t we need to be on node 16+ for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node 16 is good!
🚀 Website PreviewThe latest changes to the website are available as preview in: https://2edfa997.graphql-yoga.pages.dev |
|
||
export default function App({ Component, pageProps }: AppProps) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export default function App({ Component, pageProps }: any) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pnpm should fix types issues (:
closes #1894