Skip to content

Commit

Permalink
Add autoformatting to ts bindings & navigator frontend (digital-asset…
Browse files Browse the repository at this point in the history
…#12693)

* Add autoformatting for the ts&tsx files (typescript effectively)

changelog_begin
changelog_end

* Format ts files

* Fix ts linter warnings
  • Loading branch information
realvictorprm authored Feb 11, 2022
1 parent a179f03 commit c0c40bd
Show file tree
Hide file tree
Showing 141 changed files with 8,851 additions and 6,222 deletions.
22 changes: 22 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Autogenerated json files, which are not intended to be read by humans (and which shouldn't be formatted either).
maven_install.json
maven_install_2.13.json
ghcide_snapshot.json
stackage_snapshot_windows.json
stackage_snapshot.json
dev-env/windows/manifests/*.json

# The html files in the docs have content that needs to stay the same and reformatting them breaks it.
docs/**/*.html
docs/theme

# Usual stuff
node_modules

# ignore bazel
.bazel-cache
bazel_tools
bazel-bin
bazel-daml
bazel-out
bazel-testlogs
6 changes: 6 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

trailingComma: all
bracketSameLine: true
arrowParens: avoid
Loading

0 comments on commit c0c40bd

Please sign in to comment.