From 892b89688bed2602ebb88904421d2b685386e368 Mon Sep 17 00:00:00 2001 From: Jan Belle Date: Mon, 2 Dec 2024 18:58:04 +0000 Subject: [PATCH] Improve linter empty_migration_scripts The linter now also detects migrations which only contain empty lines, comments or commented out code --- ..._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 @@ - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + - + + + + + +