mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-24 17:44:21 +03:00
Added .hlint.yaml.
This commit is contained in:
parent
839beb4142
commit
0c6c605798
1
waspc/.hlint.yaml
Normal file
1
waspc/.hlint.yaml
Normal file
@ -0,0 +1 @@
|
||||
- arguments: [-XQuasiQuotes]
|
@ -111,6 +111,12 @@ For benchmarking we are using [**Criterion**](http://www.serpentine.com/criterio
|
||||
|
||||
You can run benchmark with `stack bench`.
|
||||
|
||||
## Linting
|
||||
|
||||
If using Hlint as linter, be aware that Hlint doesn't know which default extensions are we using via Stack/cabal, so it might be missing some extension and therefore report false errors.
|
||||
|
||||
Hlint already adds a lot of extensions on its own so this is not a very often problem, but if that happens, add default extensions to .hlint.yaml so that Hlint knows to use them.
|
||||
|
||||
## Other
|
||||
|
||||
Wasp ascii art used in the title is from https://www.asciiart.eu/animals/insects/bees, author: Stef00.
|
||||
|
@ -31,8 +31,6 @@ generateWebApp wasp _ = concatMap ($ wasp)
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
generateReadme :: Wasp -> FileDraft
|
||||
generateReadme wasp = C.makeSimpleTemplateFD (asTmplFile [P.relfile|README.md|]) wasp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user