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

Use shared ESLint config #876

Merged
merged 3 commits into from
Jun 15, 2023
Merged

Conversation

LukasKalbertodt
Copy link
Member

We noticed a lot of ESLint duplication (and maybe even worse: differences) between our three very similar-tech-stack projects Editor, Studio and Tobira. So we pulled out most of the config into a separate package.

This required minimal changes in Tobira, as we already had a pretty strict config.

@LukasKalbertodt LukasKalbertodt added the changelog:dev Changes primarily for developers label Jun 14, 2023
@github-actions github-actions bot temporarily deployed to test-deployment-pr876 June 14, 2023 15:25 Destroyed
@@ -257,7 +257,7 @@ export const makeRouter = <C extends Config, >(config: C): RouterLib => {
// When navigating to new routes, the scroll position always
// starts as 0 (i.e. the very top).
context.setActiveRoute({ route: newRoute, initialScroll: 0 });
replaceEntry ? replace(href) : push(href);
(replaceEntry ? replace : push)(href);
Copy link
Member

Choose a reason for hiding this comment

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

Cool, didn't know this was possible.

@owi92 owi92 merged commit 800d7cf into elan-ev:master Jun 15, 2023
2 checks passed
@LukasKalbertodt LukasKalbertodt deleted the shared-eslint branch June 15, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:dev Changes primarily for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants