diff --git a/cli/tests/lint-extra-example-rules/lint/migration-self-contained/migration-self-contained.toml b/cli/tests/lint-extra-example-rules/lint/migration-self-contained/migration-self-contained.toml index b4a6bd66..7b8732fb 100644 --- a/cli/tests/lint-extra-example-rules/lint/migration-self-contained/migration-self-contained.toml +++ b/cli/tests/lint-extra-example-rules/lint/migration-self-contained/migration-self-contained.toml @@ -1,6 +1,6 @@ name = "migration-self-contained" description = "Migration files must not import local modules (relative paths). Got: @path" -includes = ["**/migrations/**"] +includes = ["migrations/*.mo"] query = ''' (import (text_literal) @path @error (#match? @path "^\"[^:]*\"$")) diff --git a/cli/tests/lint-extra-example-rules/mops.toml b/cli/tests/lint-extra-example-rules/mops.toml index 382e258a..6610e1cd 100644 --- a/cli/tests/lint-extra-example-rules/mops.toml +++ b/cli/tests/lint-extra-example-rules/mops.toml @@ -5,4 +5,4 @@ lintoko = "0.7.0" "src/Main.mo" = ["lint/no-types"] "src/Types.mo" = ["lint/types-only"] "src/Migration.mo" = ["lint/migration-only"] -"migrations/**" = ["lint/migration-self-contained"] +"migrations/*.mo" = ["lint/migration-self-contained"]