summaryrefslogtreecommitdiffstats
path: root/review/src
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 14:23:26 +0200
committerJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 14:23:26 +0200
commit0064b61e4b93285d006786ca0d964ecaaf677c29 (patch)
treea9bebf8dc29014bbce54516e2ab7fac0dfd8b0d6 /review/src
parent43b77db663eddcdd068b49dbde8109296bf5e462 (diff)
Add stuff
Diffstat (limited to 'review/src')
-rw-r--r--review/src/ReviewConfig.elm31
1 files changed, 31 insertions, 0 deletions
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