X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=.pre-commit-config.yaml;h=9f5aa4ad1fcaf6f7f3ac474b9010d44d9e8112b8;hb=935f3a20e0c58f292adf4b859458f94710b2f4ef;hp=13f206b2d62c1c744cea4b17acb6217eb631a171;hpb=5f2492cae9fcc63fc22648f7fb1a553513eb5cd2;p=releng%2Fbuilder.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13f206b2d..9f5aa4ad1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,11 @@ repos: - id: check-json - id: trailing-whitespace + - repo: https://github.com/prettier/prettier + rev: 2.0.5 + hooks: + - id: prettier + - repo: https://github.com/jorisroovers/gitlint rev: v0.13.1 hooks: @@ -16,10 +21,10 @@ repos: hooks: - id: shellcheck exclude: > - (?x)^( - jjb/global-jjb/.*| - jenkins-config/.* - )$ + (?x)^( + jjb/global-jjb/.*| + jenkins-config/.* + )$ - repo: https://github.com/ambv/black rev: stable