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
187 changed files with 1649 additions and 1688 deletions
+4
View File
@@ -72,6 +72,10 @@ stages:
. venv/bin/activate
pre-commit run pyupgrade --all-files
displayName: 'Run pyupgrade'
- script: |
. venv/bin/activate
pre-commit run prettier --all-files
displayName: 'Run prettier'
- job: 'Validate'
pool:
vmImage: 'ubuntu-latest'