-
Notifications
You must be signed in to change notification settings - Fork 323
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
Actually fix Lint CI #6583
Actually fix Lint CI #6583
Conversation
@wdanilo you pointed out it was verbose before... well, it's so much more verbose now DX the alternative solution would be to remove all this specialcasing, and then just check for the existence of e.g. enso/app/ide-desktop/lib/types/modules.d.ts Lines 17 to 45 in 71ccc1d
|
71ccc1d
to
e23e65d
Compare
Oh yes, let's do it as you propose please! Let's check for it, build it if it's not there and it'd be much better than this verbosity. Btw, why running build is needed like that? Our build script should build all dependencies automatically, so there should not be a situation when it's not there, right? |
i think |
/* eslint-disable @typescript-eslint/consistent-type-imports, no-restricted-syntax, @typescript-eslint/no-shadow */ | ||
export type App = import('runner/index').App | ||
export const App: typeof import('runner/index').App | ||
export type Consumer = import('runner/index').Consumer | ||
export const Consumer: typeof import('runner/index').Consumer | ||
export type LogLevel = import('runner/index').LogLevel | ||
export const LogLevel: typeof import('runner/index').LogLevel | ||
export type Logger = import('runner/index').Logger | ||
export const Logger: typeof import('runner/index').Logger | ||
export type Option<T> = import('runner/index').Option<T> | ||
export const Option: typeof import('runner/index').Option | ||
export const log: typeof import('runner/index').log | ||
export const logger: typeof import('runner/index').logger | ||
export const urlParams: typeof import('runner/index').urlParams | ||
export namespace config { | ||
export type Option<T> = import('runner/index').config.Option<T> | ||
export const Option: typeof import('runner/index').config.Option | ||
export type Group< | ||
Options extends OptionsRecord, | ||
Groups extends GroupsRecord | ||
> = typeof import('runner/index').config.Group<Options, Groups> | ||
export const Group: typeof import('runner/index').config.Group | ||
export const objectToGroup: typeof import('runner/index').config.objectToGroup | ||
export const objectToOption: typeof import('runner/index').config.objectToOption |
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.
this is terribly verbose and hard to maintain. I understand that the second PR is an alternative to this one, without this verbosity. Am I correct?
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.
yeah - i definitely agree the other one is cleaner... and more importantly, doesnt require manually adding or removing exports
superseded by #6603 |
Pull Request Description
My suspicions were correct... it seems like the failures mainly (if not only) happen on a clean repository without build artifacts.
I've fixed it so it will work anyway - it's not pretty but I think it's all required
Important Notes
None
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.