+
Skip to content

Conversation

kienstra
Copy link
Member

@kienstra kienstra commented Sep 5, 2022

Changes

  • Add shellcheck for script linting. Most Bash is now in script/, so this can run shellcheck on it. This should help with Linux compatibility, as this helped to correct several Bash issues.
  • Add dependency injection. This allows using shellcheck, as it allows us to use a Jest test setup. I couldn't figure out how to do this will Mocha, the default VSC extension setup.

Mainly resolve in favor of
this branch:
add/shellcheck-and-dependency-injection
@@ -1,5 +1,4 @@
.vscode/**
.vscode-test/**
Copy link
Member Author

Choose a reason for hiding this comment

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

This was where the compiled test files were before.

But now, we don't have to compile the TypeScript before running unit tests.

We'll just run jest.

@kienstra kienstra changed the title Add shellcheck for script linting, and dependency injection Add shellcheck for script linting and dependency injection Sep 18, 2022
@kienstra kienstra changed the title Add shellcheck for script linting and dependency injection Add shellcheck for scripts, add dependency injection Sep 18, 2022
@kienstra kienstra marked this pull request as ready for review September 18, 2022 17:47
@kienstra kienstra merged commit 05a0c80 into develop Sep 18, 2022
@kienstra kienstra deleted the add/shellcheck-and-dependency-injection branch September 18, 2022 18:27
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载