add hlint configuration for exercises

fixes #45
This commit is contained in:
Joel Kaasinen
2023-01-18 08:33:42 +02:00
parent 2787644a63
commit 6191a49f54
+18
View File
@@ -0,0 +1,18 @@
# By and large most hlint hints are too advanced for this course, and would just confuse students.
# Since IDEs like VS Code ship with hlint enabled, it's good to disable all hints and enable
# just a select few.
- ignore: {}
- hint: {name: Use if}
- hint: {name: Use head}
- hint: {name: Use >}
- hint: {name: Use >=}
- hint: {name: Use <}
- hint: {name: Use <=}
- hint: {name: Use minimum}
- hint: {name: Use maximum}
- hint: {name: Use head}
- hint: {name: Use last}
- hint: {name: Use guard}
- hint: {name: Use const}
- hint: {name: Redundant bracket}
- hint: {name: Evaluate}