diff options
author | Christian Segundo | 2023-10-12 14:23:12 +0200 |
---|---|---|
committer | Christian Segundo | 2023-10-12 14:23:12 +0200 |
commit | 0b7186eac839b8690f8951aca4fc2657944ab3b6 (patch) | |
tree | a37e56d651d80f0876dc531600ca9a25d723fd02 /public/vale/.vale-styles/Readability/SMOG.yml | |
parent | 3a974be2bf6ecace920add9b80f0c63b3e235dc6 (diff) | |
download | dotfiles-0b7186eac839b8690f8951aca4fc2657944ab3b6.tar.gz |
Add vale
Diffstat (limited to 'public/vale/.vale-styles/Readability/SMOG.yml')
-rw-r--r-- | public/vale/.vale-styles/Readability/SMOG.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/Readability/SMOG.yml b/public/vale/.vale-styles/Readability/SMOG.yml new file mode 100644 index 0000000..e7f5913 --- /dev/null +++ b/public/vale/.vale-styles/Readability/SMOG.yml @@ -0,0 +1,8 @@ +extends: metric +message: "Try to keep the SMOG grade (%s) below 10." +link: https://en.wikipedia.org/wiki/SMOG + +formula: | + 1.0430 * math.sqrt((polysyllabic_words * 30.0) / sentences) + 3.1291 + +condition: "> 10" |