From 2c19bf80dc427af8e246081195ab5975032ffcc2 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:21:13 +0000 Subject: [PATCH] feat: Add typo checking script --- tools/typos | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/typos diff --git a/tools/typos b/tools/typos new file mode 100644 index 0000000..de8dc7c --- /dev/null +++ b/tools/typos @@ -0,0 +1,12 @@ +#!/bin/bash + +# Install necessary dependencies +sudo apt-get update +sudo apt-get install -y aspell + +# Loop over all input arguments +for file in "$@" +do + # Check for typos using aspell + aspell check "$file" +done