elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.48k stars 658 forks source link

Align indentation where cabal check warns about it #2319

Open philderbeast opened 7 months ago

philderbeast commented 7 months ago

Fixes the warning about inconsistent indentation in the package.

$ cabal check
...
Warning: elm.cabal:42:5: Inconsistent indentation. Indentation jumps at lines
42
...

Found when adding elm-compiler as an Updo example. I noticed the warning there:

$ cabal build all --enable-tests --enable-benchmarks
Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.11.0.0 supports
'ghc' version < 9.8): /home/philderbeast/.ghcup/bin/ghc is version 9.8.1
Resolving dependencies...
Build profile: -w ghc-9.8.1 -O1
In order, the following will be built (use -v for more details):
 - elm-0.19.1 (exe:elm) (first run)
Warning: elm.cabal:42:5: Inconsistent indentation. Indentation jumps at lines
42
Configuring executable 'elm' for elm-0.19.1...
...
github-actions[bot] commented 7 months ago

Thanks for suggesting these code changes. To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.