wasp/waspc/.hlint.yaml

16 lines
772 B
YAML
Raw Normal View History

- arguments:
# NOTE: List of extensions below should reflect the list
# of default extensions from package.yaml.
- -XOverloadedStrings
- -XTemplateHaskell
- -XQuasiQuotes
- -XScopedTypeVariables
2021-11-17 14:24:39 +03:00
- ignore: {name: Use camelCase} # We can decide this on our own.
- ignore: {name: Eta reduce} # We can decide this on our own.
- ignore: {name: Use newtype instead of data} # We can decide this on our own.
- ignore: {name: Use $>} # I find it makes code harder to read if enforced.
- ignore: {name: Use list comprehension} # We can decide this on our own.
2022-03-17 14:36:36 +03:00
- ignore: {name: Use ++} # I sometimes prefer concat over ++ due to the nicer formatting / extensibility.
2024-01-08 17:54:10 +03:00
- ignore: {name: Redundant lambda} # Sometimes it is nicer to create explicit lambda then function.