Commit Graph

6 Commits

Author SHA1 Message Date
234718a712 Fix ShellCheck lint SC2068 in lint-staged-php
Unlikely to cause issue, but ShellCheck linter was not happy

https://www.shellcheck.net/wiki/SC2068
2024-09-06 09:25:14 +02:00
d90f0ae533 Fix unresolved command in lint-staged-php for Linux
The 'source' command is not available in the default sh shell on Linux. The source command is specific to bash and other compatible shells. On Linux, the default sh shell is often dash, which does not support source. It seem to work on macOS because the default shell there is bash.

The . (dot) command is POSIX-compliant and works in both sh and bash.
2024-09-06 09:25:14 +02:00
8646238251 Remove ./do qa:mininal-plugin-standard from git hooks
This check has been removed in https://github.com/mailpoet/mailpoet/pull/5801
The functionality is now covered by code sniffer
[MAILPOET-6150]
2024-09-05 12:55:23 +02:00
a78a31f110 Fix indentation
MAILPOET-4237
2024-02-08 11:13:35 -06:00
fcc4be330c Add set -e to hook scripts to exit on fail
MAILPOET-4237
2024-02-08 11:13:35 -06:00
bc4014d4a3 Make lint-staged commands configurable
MAILPOET-4237
2024-02-08 11:13:35 -06:00