letterpress/.github/styles/Readability/GunningFog.yml
2024-09-28 22:50:49 +02:00

9 lines
223 B
YAML

extends: metric
message: "Try to keep the Gunning-Fog index (%s) below 10."
link: https://en.wikipedia.org/wiki/Gunning_fog_index
formula: |
0.4 * ((words / sentences) + 100 * (complex_words / words))
condition: "> 10"