Skip to content

chart=2.106.35,image=2.106.35

@akshaymankar akshaymankar tagged this 25 May 10:18
* Encode golden jsons using prettyEncode for easier diffs

* Re-encode golden test jsons so they are pretty

* Reformat generated golden tests for easier reviews

Reformatting done like this:
- Install hindent

- Write .hindent.yaml as (note that couple of extensions are missing as
  hindent doesn't support them yet):

  ```
  indent-size: 2
  line-length: 120
  force-trailing-newline: true
  extensions:
  - BangPatterns
  - ConstraintKinds
  - DataKinds
  - DefaultSignatures
  - DerivingStrategies
  - DerivingVia
  - DeriveFunctor
  - DeriveGeneric
  - DeriveTraversable
  - EmptyCase
  - FlexibleContexts
  - FlexibleInstances
  - FunctionalDependencies
  - GADTs
  - InstanceSigs
  - KindSignatures
  - LambdaCase
  - MultiParamTypeClasses
  - MultiWayIf
  - NamedFieldPuns
  - NoImplicitPrelude
  - OverloadedStrings
  - PackageImports
  - PatternSynonyms
  - PolyKinds
  - QuasiQuotes
  - RankNTypes
  - ScopedTypeVariables
  - StandaloneDeriving
  - TemplateHaskell
  - TupleSections
  - TypeApplications
  - TypeFamilies
  - TypeFamilyDependencies
  - TypeOperators
  - UndecidableInstances
  - ViewPatterns
  ```

- Run ormolu on the whole project
Assets 2
Loading