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

[ui] Update eslint and TS in most of the dagster-ui workspace #25317

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Oct 16, 2024

Summary & Motivation

Update TS and run lint in app-oss and ui-core, picking up fixes that are surfaced by the recent change to our eslint-config.

ui-components will be done in a followup, since it references the published eslint-config package.

How I Tested These Changes

make ts, make lint in dagster-ui.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hellendag and the rest of your teammates on Graphite Graphite

@hellendag hellendag marked this pull request as ready for review October 16, 2024 19:19
Copy link

github-actions bot commented Oct 16, 2024

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-azuw1q6sz-elementl.vercel.app
https://dish-update-lint-ts.components-storybook.dagster-docs.io

Built with commit eb4161f.
This pull request is being automatically deployed with vercel-action

Copy link

github-actions bot commented Oct 16, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-ofy2i3mny-elementl.vercel.app
https://dish-update-lint-ts.core-storybook.dagster-docs.io

Built with commit eb4161f.
This pull request is being automatically deployed with vercel-action

"eslint-plugin-jest": "^26.4.6",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-unused-imports": "^4.1.4",
Copy link
Member Author

Choose a reason for hiding this comment

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

These started showing up as missing during lint runs, since they were only in the eslint-config's node_modules. I'm not sure why this worked without enumerating these deps before, but I think we were just getting lucky with packages ending up in the workspace-level node_modules.

@@ -1,10 +1,10 @@
import React from 'react';

import {ApolloClient, gql, useApolloClient} from '../apollo-client';
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure why these are getting reordered this way, but it's autofixed so I'm going with it.

Copy link
Contributor

@dliu27 dliu27 left a comment

Choose a reason for hiding this comment

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

solid

@hellendag hellendag merged commit cbe2e1e into master Oct 16, 2024
3 checks passed
@hellendag hellendag deleted the dish/update-lint-ts branch October 16, 2024 21:21
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.

2 participants