Turn that misspell report into a GitLab compatible Code Climate report for annotated merge requests.
Generate a misspell report by scanning your repository:
misspell -locale UK docs > misspell-report.txt
Then generate a Code Climate report:
misspell-codeclimate --file misspell-report.txt > codeclimate-report.json
To use Homebrew:
brew install purpleclay/tap/misspell-codeclimate
To use Scoop:
scoop bucket add purpleclay https://github.com/purpleclay/scoop-bucket.git
scoop install misspell-codeclimate
To install using the apt package manager:
echo 'deb [trusted=yes] https://fury.purpleclay.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/purpleclay.list
sudo apt update
sudo apt install -y misspell-codeclimate
You may need to install the ca-certificates
package if you encounter trust issues with regards to the gemfury certificate:
sudo apt update && sudo apt install -y ca-certificates
To install using the yum package manager:
echo '[purpleclay]
name=purpleclay
baseurl=https://fury.purpleclay.dev/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/purpleclay.repo
sudo yum install -y misspell-codeclimate
To install from the aur using yay:
yay -S misspell-codeclimate-bin
To install the latest version using a bash script:
curl https://raw.githubusercontent.com/purpleclay/misspell-codeclimate/main/scripts/install | bash
A specific version can be downloaded by using the -v
flag. By default the script uses sudo
, which can be turned off by using the --no-sudo
flag.
curl https://raw.githubusercontent.com/purpleclay/misspell-codeclimate/main/scripts/install | bash -s -- -v v0.1.0 --no-sudo