Roots Discourse

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(
    320px, 
    [
      ['sm', 2],
      ['', 1],
      ['lg', 3],
    ],
    var(--space-xl), 
    var(--space-xxl)
  );

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