This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
ComputerSecurity/linting.sh
Andre Henriques 8da6fdb4e0
All checks were successful
continuous-integration/drone/push Build is passing
Disable codding
2023-11-03 12:14:16 +00:00

32 lines
794 B
Bash

#!/bin/bash
if grep "codding" -R . --exclude=linting.sh; then
echo 'Found codding'
grep "codding" -R . --exclude=linting.sh
#exit 1
fi
if grep " sky " -R . --exclude=linting.sh; then
echo 'Found " sky " this is probably wrong'
grep " sky " -R . --exclude=linting.sh
exit 1
fi
if grep " devolving " -R . --exclude=linting.sh; then
echo 'Found " devolving " this is probably wrong'
grep " devolving " -R . --exclude=linting.sh
exit 1
fi
if grep " prof " -R . --exclude=linting.sh; then
echo 'Found " prof " this is probably wrong'
grep " prof " -R . --exclude=linting.sh
exit 1
fi
if grep " codded " -R . --exclude=linting.sh; then
echo 'Found " codded " this is probably wrong'
grep " codded " -R . --exclude=linting.sh
exit 1
fi