In @for directives, never use to, always use through instead. Many developers do not even know Sass offers this variation; using it might lead to confusion.

Noncompliant Code Example

@for $i from 1 to 10 { ... }

Compliant Solution

@for $i from 1 through 10 { ... }

See