diff --git a/sh/lint/lint.sh b/sh/lint/lint.sh index a41a166..90cef0c 100644 --- a/sh/lint/lint.sh +++ b/sh/lint/lint.sh @@ -1,3 +1,16 @@ +# lint code +rwx_lint() { + local path="${1}" + local code + set \ + "python" \ + "shell" + for code in "${@}"; do + rwx_log "${code}" + "rwx_lint_${code}" "${path}" + done +} + # lint python code rwx_lint_python() { local path="${1}"