From 48b78b61c4be0189a0e9ed56c6e449c5ba82f237 Mon Sep 17 00:00:00 2001 From: aadeyemiadl <147636785+aadeyemiadl@users.noreply.github.com> Date: Tue, 12 Mar 2024 17:10:43 -0400 Subject: [PATCH] Update install-lint.sh --- install-lint.sh | 71 ------------------------------------------------- 1 file changed, 71 deletions(-) diff --git a/install-lint.sh b/install-lint.sh index a3833c13..ebbee4d3 100644 --- a/install-lint.sh +++ b/install-lint.sh @@ -1,77 +1,6 @@ #!/bin/bash -<# -# Simple script to install and run Hadolint - echo "" - echo "#====================================================#" - echo "# Installing Hadolint" - echo "#====================================================#" - echo "" - -# Install Hadolint - wget -O hadolint https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 -# Move to appropriate directory - mv hadolint /usr/local/bin/hadolint -# Make file executable - chmod +x /usr/local/bin/hadolint - - echo "" - echo "#====================================================#" - echo "# Hadolint Installation Complete" - echo "#====================================================#" - echo "" - -# Check hadolint version to make sure it is installed - hadolint -v - - echo "" - echo "#====================================================#" - echo "# Now Running Hadolint on Dockerfile" - echo "#====================================================#" - echo "" - # Run Hadolint on Dockerfile - - docker run --rm -i hadolint/hadolint < Dockerfile - - echo "" - echo "#====================================================#" - echo "# Dockerfile Linting Complete (Comments Above)" - echo "#====================================================#" - echo "" - # Simple script to install and run Pylint - echo "" - echo "#====================================================#" - echo "# Installing Pylint" - echo "#====================================================#" - echo "" - -# Install Pylint - apt install pylint - - echo "" - echo "#====================================================#" - echo "# Pylint Installation Complete" - echo "#====================================================#" - echo "" - -# Check pylint version to make sure it is installed - pylint --version - echo "" - echo "#====================================================#" - echo "# Now Running Pylint" - echo "#====================================================#" - echo "" - - # Run Pylint on python files - pylint *.py - - echo "" - echo "#====================================================#" - echo "# Python Linting Complete (Comments Above)" - echo "#====================================================#" - echo "" -#> # Simple script to install and run ESlint echo "" echo "#====================================================#"