-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Frontend] typescript lint developer experience improvements #2429
Comments
Temporary workaround that fixes most problems:
In this way:
|
Migrating to |
One remaining issue is but I don't quite like this rule anyway. There are cases that I prefer a manual ordering for example css properties:
|
Update, after making lint errors as warnings during development. My workflow becomes:
So it's more a problem of whether we want this rule or not. I will leave that to future discussion in a separate issue. /close |
@Bobgy: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Pain point: When experimenting with new and dirty code, lint errors and compile errors always stop you asking for a fix, even though the code is completely valid for running (but not clean).
Especially the following issues
Overall, what I consider the ideal developer experience:
When trying to make the config, I noticed even further that tslint will be deprecated: palantir/tslint#4100 (comment) and it is recommended to migrate to typescript-eslint: https://github.com/typescript-eslint/typescript-eslint#what-about-tslint
Because we are using: https://github.com/wmonk/create-react-app-typescript (which is also deprecated), it doesn't work with eslint. We need to first migrate back to
create-react-app
which supports typescript natively now./area front-end
The text was updated successfully, but these errors were encountered: