diff --git a/sh/lint/lint.sh b/sh/lint/lint.sh index 90cef0c..23c5f72 100644 --- a/sh/lint/lint.sh +++ b/sh/lint/lint.sh @@ -38,3 +38,20 @@ rwx_lint_shell() { "rwx_${action}" "${path}" done } + +# lint code tasks +rwx_lint_tasks() { + local path="${1}" + local type + set \ + "LATER" \ + "TODO" \ + "FIXME" + for type in "${@}"; do + rwx_log "${type}" + grep \ + --directories "recurse" \ + --line-number \ + "${type}" + done +}