Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t-osawa-009/typochecker

Typo checker made with swift
https://github.com/t-osawa-009/typochecker

check checker lint linter spell spellcheck spellchecker spelling spelling-correction swift swiftpackage typo xcode

Last synced: about 7 hours ago
JSON representation

Typo checker made with swift

Awesome Lists containing this project

README

        

# TypoChecker

You can check typos in name or String.
Typo checker made with swift.
This project is heavily inspired by the [shiba1014/NoMoreTypo](https://github.com/shiba1014/NoMoreTypo), [realm/SwiftLint](https://github.com/realm/SwiftLint)

## Installation
### Makefile
```sh
$ git clone [email protected]:takuchantuyoshi/TypoChecker.git
$ cd TypoChecker
$ make install
```
### [Mint](https://github.com/yonaskolb/Mint)
```sh
$ mint install takuchantuyoshi/TypoChecker
```

## Usage
### Command Line
```sh
$ TypoChecker -path hoge/foo
```
### Xcode
Integrate TypoChecker into an Xcode scheme to get warnings displayed in the IDE. Just add a new "Run Script Phase" with:
```sh
if which TypoChecker >/dev/null; then
TypoChecker -path "$SRCROOT" -report xcode
else
echo "warning: TypoChecker not installed, download from https://github.com/takuchantuyoshi/TypoChecker"
fi
```
## Option
You can see options by `TypoChecker --help`

## License
[MIT licensed.](https://github.com/takuchantuyoshi/TypoChecker/blob/master/LICENSE)