summaryrefslogtreecommitdiffstats
path: root/review
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
parent43b77db663eddcdd068b49dbde8109296bf5e462 (diff)
Add stuff
Diffstat (limited to 'review')
-rw-r--r--review/elm.json35
-rw-r--r--review/src/ReviewConfig.elm31
2 files changed, 66 insertions, 0 deletions
diff --git a/review/elm.json b/review/elm.json
new file mode 100644
index 0000000..27a9e43
--- /dev/null
+++ b/review/elm.json
@@ -0,0 +1,35 @@
+{
+ "type": "application",
+ "source-directories": [
+ "src"
+ ],
+ "elm-version": "0.19.1",
+ "dependencies": {
+ "direct": {
+ "elm/core": "1.0.5",
+ "jfmengels/elm-review": "2.6.0",
+ "jfmengels/elm-review-common": "1.1.2",
+ "stil4m/elm-syntax": "7.2.8"
+ },
+ "indirect": {
+ "elm/html": "1.0.0",
+ "elm/json": "1.1.3",
+ "elm/parser": "1.1.0",
+ "elm/project-metadata-utils": "1.0.2",
+ "elm/random": "1.0.0",
+ "elm/time": "1.0.0",
+ "elm/virtual-dom": "1.0.2",
+ "elm-community/list-extra": "8.5.1",
+ "elm-explorations/test": "1.2.2",
+ "miniBill/elm-unicode": "1.0.2",
+ "rtfeldman/elm-hex": "1.0.0",
+ "stil4m/structured-writer": "1.0.3"
+ }
+ },
+ "test-dependencies": {
+ "direct": {
+ "elm-explorations/test": "1.2.2"
+ },
+ "indirect": {}
+ }
+}
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