From 974d55e73caac3c9d777358805c49a92506f558c Mon Sep 17 00:00:00 2001 From: danielratiu Date: Thu, 5 Dec 2024 22:42:15 +0100 Subject: [PATCH] Improve linter empty_migration_scripts (#258) The linter now also detects migrations which only contain empty lines, comments or commented out code Co-authored-by: Jan Belle --- ..._lang.linters_library.migration_aspect.mps | 151 +++++++++++++++--- 1 file changed, 126 insertions(+), 25 deletions(-) diff --git a/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.mps_lang.linters_library/models/org.mpsqa.lint.mps_lang.linters_library.migration_aspect.mps b/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.mps_lang.linters_library/models/org.mpsqa.lint.mps_lang.linters_library.migration_aspect.mps index eb02518b..a5891be7 100644 --- a/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.mps_lang.linters_library/models/org.mpsqa.lint.mps_lang.linters_library.migration_aspect.mps +++ b/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.mps_lang.linters_library/models/org.mpsqa.lint.mps_lang.linters_library.migration_aspect.mps @@ -17,6 +17,8 @@ + + @@ -40,7 +42,6 @@ - @@ -52,9 +53,6 @@ - - - @@ -76,6 +74,9 @@ + + + @@ -89,6 +90,13 @@ + + + + + + + @@ -96,11 +104,21 @@ + + + + + + + + + + @@ -131,19 +149,23 @@ + + + + - + @@ -285,34 +307,113 @@ - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + - + + + + + +