Skip to content

Replace deprecated remote keyword in lefthook config

Adam Cohen requested to merge update-lefthook-config into master

What does this MR do?

The use of remote in lefthook.yml has now been deprecated. This MR updates lefthook.yml to use the new remotes configuration.

Before this change

Deprecation notice is displayed when committing changes:

git commit -a -m Update command package to latest
DEPRECATED: "remote" option is deprecated and will be omitted in the next major release, use "remotes" option instead
[update-command-package-to-latest 80178357] Update command package to latest
 2 files changed, 6 insertions(+), 2 deletions(-)

After this change

Deprecation notice is not displayed when committing changes:

git commit -a -m Use remotes in lefthook config
[update-lefthook-config e68de396] Use remotes in lefthook config
 1 file changed, 2 insertions(+), 2 deletions(-)

What are the relevant issue numbers?

N/A

Does this MR meet the acceptance criteria?

Merge request reports