Error passing a list to a SASS mixin: “] expected”

I’m passing a list to a SASS mixin and it works (no error in the browser or console) but my editor (VS Code) says there are errors.
The code is:

  @include gridAuto(
      ['sm', 2],
      ['', 1],
      ['lg', 3],

I get errors on this line ['sm', 2],. The errors:

] expected
] expected
) expected
at-rule or selector expected

I attach a screenshot
enter image description here