From 0064b61e4b93285d006786ca0d964ecaaf677c29 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 4 Nov 2021 14:23:26 +0200 Subject: Add stuff --- review/src/ReviewConfig.elm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 review/src/ReviewConfig.elm (limited to 'review/src') diff --git a/review/src/ReviewConfig.elm b/review/src/ReviewConfig.elm new file mode 100644 index 0000000..1335f43 --- /dev/null +++ b/review/src/ReviewConfig.elm @@ -0,0 +1,31 @@ +module ReviewConfig exposing (config) + +{-| Do not rename the ReviewConfig module or the config function, because +`elm-review` will look for these. + +To add packages that contain rules, add them to this review project using + + `elm install author/packagename` + +when inside the directory containing this file. + +-} + +import Review.Rule exposing (Rule) +import NoExposingEverything +import NoImportingEverything +import NoMissingTypeAnnotation +import NoMissingTypeAnnotationInLetIn +import NoMissingTypeExpose +import NoPrematureLetComputation +import Review.Rule exposing (Rule) + +config : List Rule +config = + [ NoExposingEverything.rule + , NoImportingEverything.rule [] + , NoMissingTypeAnnotation.rule + , NoMissingTypeAnnotationInLetIn.rule + , NoMissingTypeExpose.rule + , NoPrematureLetComputation.rule + ] \ No newline at end of file -- cgit v1.3