.mybox {
  font-family: 'Arial';
  font-family: 'Arial', sans-serif;
  font-family: 'Arial' , sans-serif; /* Noncompliant ![sc=24;ec=25;el=+0]! !{Remove all the whitespaces before the delimiter.}! */
  font-family: 'Arial'  , sans-serif; /* Noncompliant ![sc=25;ec=26;el=+0]! !{Remove all the whitespaces before the delimiter.}! */
  font-family: 'Arial'
               , sans-serif; /* Noncompliant ![sc=16;ec=17;el=+0]! !{Move the delimiter right next to its preceding element.}! */
  font-family: 'Arial'

               , sans-serif; /* Noncompliant ![sc=16;ec=17;el=+0]! !{Move the delimiter right next to its preceding element.}! */
  font-family: 'Arial',sans-serif;  /* Noncompliant ![sc=23;ec=24;el=+0]! !{Add a whitespace between the delimiter and the following element.}! */
  font-family: 'Arial',  sans-serif;  /* Noncompliant ![sc=23;ec=24;el=+0]! !{Leave only one single whitespace between the delimiter and the element.}! */
  font-family: 'Arial',   sans-serif;  /* Noncompliant ![sc=23;ec=24;el=+0]! !{Leave only one single whitespace between the delimiter and the element.}! */
  font-family: 'Arial' ,   sans-serif;  /* Noncompliant */ /* Noncompliant */

  background: linear-gradient();
  background: linear-gradient(red, yellow, blue);
  background: linear-gradient(red , yellow, blue); /* Noncompliant ![sc=35;ec=36;el=+0]! !{Remove all the whitespaces before the delimiter.}! */
  background: linear-gradient(red  , yellow, blue); /* Noncompliant ![sc=36;ec=37;el=+0]! !{Remove all the whitespaces before the delimiter.}! */
  background: linear-gradient(red
                             , yellow, blue); /* Noncompliant ![sc=30;ec=31;el=+0]! !{Move the delimiter right next to its preceding element.}! */
  background: linear-gradient(red

                             , yellow, blue); /* Noncompliant ![sc=30;ec=31;el=+0]! !{Move the delimiter right next to its preceding element.}! */
  background: linear-gradient(red,yellow, blue); /* Noncompliant ![sc=34;ec=35;el=+0]! !{Add a whitespace between the delimiter and the following element.}! */
  background: linear-gradient(red,  yellow, blue); /* Noncompliant ![sc=34;ec=35;el=+0]! !{Leave only one single whitespace between the delimiter and the element.}! */
  background: linear-gradient(red,   yellow, blue); /* Noncompliant ![sc=34;ec=35;el=+0]! !{Leave only one single whitespace between the delimiter and the element.}! */
  background: linear-gradient(red ,   yellow, blue); /* Noncompliant */ /* Noncompliant */
  background: linear-gradient(hello(1 , 2), yellow, blue); /* Noncompliant ![sc=39;ec=40;el=+0]! !{Remove all the whitespaces before the delimiter.}! */
}

a:nth-last-of-type(a) {}
a:nth-last-of-type(a, b) {}
a:nth-last-of-type(a , b) {}  /* Noncompliant ![sc=22;ec=23;el=+0]! !{Remove all the whitespaces before the delimiter.}! */

.foo, .bar {}
.foo , .bar {} /* Noncompliant ![sc=6;ec=7;el=+0]! !{Remove all the whitespaces before the delimiter.}! */
.foo  , .bar {} /* Noncompliant ![sc=7;ec=8;el=+0]! !{Remove all the whitespaces before the delimiter.}! */

.foo
, .bar {} /* Noncompliant ![sc=1;ec=2;el=+0]! !{Move the delimiter right next to its preceding element.}! */

.foo
  
, .bar {} /* Noncompliant ![sc=1;ec=2;el=+0]! !{Move the delimiter right next to its preceding element.}! */

.foo,.bar {} /* Noncompliant ![sc=5;ec=6;el=+0]! !{Add a whitespace between the delimiter and the following element.}! */
.foo,  .bar {} /* Noncompliant ![sc=5;ec=6;el=+0]! !{Leave only one single whitespace between the delimiter and the element.}! */
.foo,   .bar {} /* Noncompliant ![sc=5;ec=6;el=+0]! !{Leave only one single whitespace between the delimiter and the element.}! */
.foo ,   .bar {} /* Noncompliant */ /* Noncompliant */



/* --- Specific to Less --- */
.foo() {}
.foo(@bg, @color) {}
.foo(@bg: #f5f5f5, @color: #900) {}
.foo(@bg: #f5f5f5,@color: #900) {} /* Noncompliant ![sc=18;ec=19;el=+0]! !{Add a whitespace between the delimiter and the following element.}! */
.foo(@bg: #f5f5f5 , @color: #900) {} /* Noncompliant ![sc=19;ec=20;el=+0]! !{Remove all the whitespaces before the delimiter.}! */
.foo(@bg: #f5f5f5 ,  @color: #900) {} /* Noncompliant */ /* Noncompliant */
