summaryrefslogtreecommitdiff
path: root/public/vale/.vale-styles/Readability/ColemanLiau.yml
diff options
context:
space:
mode:
Diffstat (limited to 'public/vale/.vale-styles/Readability/ColemanLiau.yml')
-rw-r--r--public/vale/.vale-styles/Readability/ColemanLiau.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/Readability/ColemanLiau.yml b/public/vale/.vale-styles/Readability/ColemanLiau.yml
new file mode 100644
index 0000000..3d56c6a
--- /dev/null
+++ b/public/vale/.vale-styles/Readability/ColemanLiau.yml
@@ -0,0 +1,8 @@
+extends: metric
+message: "Try to keep the Coleman–Liau Index grade (%s) below 19."
+link: https://en.wikipedia.org/wiki/Coleman%E2%80%93Liau_index
+
+formula: |
+ (0.0588 * (characters / words) * 100) - (0.296 * (sentences / words) * 100) - 15.8
+
+condition: "> 9"