Add prettier (in pre-commit and CI) (#33693)

* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
This commit is contained in:
Franck Nijhof 2020-04-05 17:27:16 +02:00 committed by GitHub
parent e3bcfb88e7
commit 39336d3ea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
187 changed files with 1649 additions and 1688 deletions

View file

@ -68,7 +68,7 @@ enum34==1000000000.0.0
pycrypto==1000000000.0.0
"""
IGNORE_PRE_COMMIT_HOOK_ID = ("check-json", "no-commit-to-branch")
IGNORE_PRE_COMMIT_HOOK_ID = ("check-json", "no-commit-to-branch", "prettier")
def has_tests(module: str):