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

[stable-4.5] Dead code cleanup, sync prettier config #3174

Merged
merged 5 commits into from
Feb 8, 2023

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Jan 13, 2023

(4.2: #3172, 4.3: eol, 4.4: #3173, 4.5: here, 4.6: #3175, master: #3176)

Follows #3142, #1921

We're still depending on redux transitively and have a bunch of configs that are always set to the same value because most but not all insights-related code was removed from stable branches.

Removing unused dependencies, code and configs.

Clean up unused exports - #3178
Update prettier, plugin sort imports - #3198

@himdel
Copy link
Collaborator Author

himdel commented Jan 17, 2023

TODO add #3178 and #3198

@himdel himdel changed the title [stable-4.5] Drop more insights-related code [stable-4.5] Dead code cleanup, sync prettier config Feb 7, 2023
sort external imports first, then src/, then any relative paths
sort imports by source name, sort specifiers

bump prettier to 2.8
ensure app.scss goes before patternfly.scss

(ansible#3198)
@himdel himdel marked this pull request as ready for review February 7, 2023 22:51
    perl -i -npe 's/^export/import/' src/**/index.ts
    npm run prettier
    perl -i -npe 's/^import/export/' src/**/index.ts
@himdel himdel merged commit 96b358c into ansible:stable-4.5 Feb 8, 2023
@himdel himdel deleted the 45-no-insights branch February 8, 2023 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Dead code removal, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant