From ab20b92ef006bbe825af0289b3867eb56dd4fac6 Mon Sep 17 00:00:00 2001 From: Woen-Sug Choi Date: Sat, 1 Jun 2024 06:39:14 +0900 Subject: [PATCH] add dockerfile lint --- .gitignore copy | 40 ---------------------------------------- .pre-commit-config.yaml | 7 +++++++ 2 files changed, 7 insertions(+), 40 deletions(-) delete mode 100644 .gitignore copy diff --git a/.gitignore copy b/.gitignore copy deleted file mode 100644 index 2b9dc7b9..00000000 --- a/.gitignore copy +++ /dev/null @@ -1,40 +0,0 @@ -# Prerequisites -*.d - -# Compiled Object files -*.slo -*.lo -*.o - -# Precompiled Headers -*.gch -*.pch - -# Compiled Dynamic libraries -*.so -*.dylib -*.dll - -# Fortran module files -*.mod -*.smod - -# Compiled Static libraries -*.lai -*.la -*.a -*.lib - -# Executables -*.exe -*.out -*.app - -# vim -*.swp - -# emacs -*.*~ - -# vs code -.vscode diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 18f2f2a6..563414b6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -152,3 +152,10 @@ repos: language: system types: [text] files: \.(xacro|urdf|sdf|xml|launch)$ + + + - repo: https://github.com/turo/pre-commit-hooks + rev: v3.5.0 # You may version pin this if desired + hooks: + - id: docker-lint + - id: docker-compose-lint