Implement spell-check (and spell check existing)
commit c81148c7d6ab9f0d01499945f87e8a632b46c37c Author: Anthony Correa <a@correa.co> Date: Fri Jan 19 12:44:22 2024 -0600 ignore git-spell-check temp files commit 66fe77de453aa758b1122f821e1d3e99557516eb Author: Anthony Correa <a@correa.co> Date: Fri Jan 19 12:43:05 2024 -0600 add checking for header in pws commit e7659d2442382c71e683596f77b32cc3f3a46bb2 Author: Anthony Correa <a@correa.co> Date: Fri Jan 19 12:29:40 2024 -0600 spell-check files commit 44081a0c148cf30627191a5ff5acaed704785b04 Author: Anthony Correa <a@correa.co> Date: Fri Jan 19 12:27:41 2024 -0600 implement spell-check
This commit is contained in:
10
.spell-check/spell-check
Executable file
10
.spell-check/spell-check
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
extension_files_to_check=md
|
||||
|
||||
function spell_check(){
|
||||
find . -type f -name "*.${extension_files_to_check}" -exec aspell check {} --mode=markdown --home-dir=./.spell-check \;
|
||||
}
|
||||
|
||||
spell_check
|
||||
Reference in New Issue
Block a user