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

ShellCheck: Set directive 'extended-analysis=false' #1061

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

sonic2kk
Copy link
Owner

@sonic2kk sonic2kk commented Mar 15, 2024

(See also: koalaman/shellcheck#2652)
Prerequisite to #1056.

New directive available in ShellCheck v0.10.0. Fixes a memory issue with the DFA introduced in ShellCheck v0.9.0, which is why STL was stuck using v0.8.0. Now we can use newer ShellCheck version again!

New directive available in ShellCheck v0.10.0. Fixes a memory issue
with the DFA introduced in ShellCheck v0.9.0, which is why STL was
stuck using v0.8.0. Now we can use newer ShellCheck version again!
@sonic2kk
Copy link
Owner Author

sonic2kk commented Mar 15, 2024

ShellCheck v0.10.0 is very upset about a lot of things in SteamTinkerLaunch, but I'll open a separate PR to fix those.

We will also need to update CONTRIBUTING.md to note that ShellCheck v0.8.0 is no longer the maximum version. It could do with some general updates though, so I'll probably handle all the updates in the same PR.

@sonic2kk
Copy link
Owner Author

Tested a few times, ShellCheck completes a little faster (granted, there are quite a few warnings) but it won't eat up tons of RAM now. ShellCheck v0.10.0 won't work without this line, but works fine with it. I tested without the directive and it went up to 24gb ram used, I killed the process at that point.

This is ready to merge I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant