Add Readability package.
This commit is contained in:
parent
1471c54c76
commit
9b57f2fcfb
90 changed files with 3856 additions and 2 deletions
17
styles/Readability/LIX.yml
Normal file
17
styles/Readability/LIX.yml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue