SpellChecker Save

SpellChecker for Xcode

Project README

SpellChecker for Xcode

GitHub Actions LICENSE Tag

screenshot

  • Swift 5.1
  • Xcode 11.2.1
  • macOS 10.15

Install

Mint

mint install fromkk/[email protected] SpellChecker

Manual

git clone [email protected]:fromkk/SpellChecker.git
cd ./SpellChecker
make install

Usage

Write to your Run script like a below code.

if ! [ -f /usr/local/bin/SpellChecker ]; then
    echo "SpellChecker not installed"
    exit 0
fi

git_path=/usr/local/bin/git
files=$($git_path diff --diff-filter=d --name-only -- "*.swift" "*.h" "*.m")
if (test -z $files) || (test ${#files[@]} -eq 0); then
  echo "no files changed."
  exit 0
fi

options=""
for file in $files
do
  options="$options $SRCROOT/$file"
done

/usr/local/bin/SpellChecker -- $options

Whitelist

If you want ignore some warnings, make YAML file to your directory.
For example:

whiteList:
  - kazuya
  - ueoka
  - fromkk

And set --yml options.

/usr/local/bin/SpellChecker --yml $SRCROOT/swift-keywords.yaml -- $options
Open Source Agenda is not affiliated with "SpellChecker" Project. README Source: fromkk/SpellChecker
Stars
90
Open Issues
1
Last Commit
1 year ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating