Add Readability package.

This commit is contained in:
g_it 2026-02-21 01:31:43 +01:00
commit 9b57f2fcfb
Signed by untrusted user who does not match committer: g_it
GPG key ID: A2B0A7C06A054627
90 changed files with 3856 additions and 2 deletions

View file

@ -0,0 +1,17 @@
extends: metric
message: "Try to keep the LIX score (%s) below 35."
link: https://en.wikipedia.org/wiki/Lix_(readability_test)
# Very Easy: 20 - 25
#
# Easy: 30 - 35
#
# Medium: 40 - 45
#
# Difficult: 50 - 55
#
# Very Difficult: 60+
formula: |
(words / sentences) + ((long_words * 100) / words)
condition: "> 35"