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

Lint for & remove side-effects #408

Merged
merged 8 commits into from
Sep 28, 2022
Merged

Lint for & remove side-effects #408

merged 8 commits into from
Sep 28, 2022

Conversation

ericcornelissen
Copy link
Owner

@ericcornelissen ericcornelissen commented Sep 20, 2022

Closes #207

@ericcornelissen ericcornelissen added the dependencies Changes to the project's dependencies label Sep 20, 2022
Remove the dependency on eslint-plugin-top and replace it by a fork
created by me that excludes top-level literal assignments to `const`. I
did also propose adding this to eslint-plugin-top, but in the meantime
we can use this fork (as eslint-plugin-top doesn't seem to be actively
maintained anyway).
By replacing the `Map`ping from shell to escape/quote function by a
simple switch statement.
@ericcornelissen ericcornelissen marked this pull request as ready for review September 28, 2022 16:34
@ericcornelissen ericcornelissen added the refactor Changes existing code without changing functionality label Sep 28, 2022
@ericcornelissen ericcornelissen changed the title Lint for side-effects Lint for & remove side-effects Sep 28, 2022
@ericcornelissen ericcornelissen enabled auto-merge (squash) September 28, 2022 18:36
@ericcornelissen ericcornelissen merged commit 33203c1 into main Sep 28, 2022
@ericcornelissen ericcornelissen deleted the 207-lint-side-effects branch September 28, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes to the project's dependencies refactor Changes existing code without changing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid "side effects" when Shescape is imported
1 participant