m1 맥에 swiftlint가 설치했는데
swiftlint가 작동하지 않았다. 해결책을 찾았음
swiftlint is installed on my macbook Air M1.
Howerver seemed to be not working.
please change script as follows:
based on Stackoverflow.com:
if test -d "/opt/homebrew/bin/"; then
PATH="/opt/homebrew/bin/:${PATH}"
fi
export PATH
if which swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
```bash
ref: https://github.com/realm/SwiftLint/issues/2992