]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Sass lint: `0` convention for no border
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 15 Nov 2016 17:31:34 +0000 (18:31 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 15 Nov 2016 18:16:38 +0000 (19:16 +0100)
Use `border: 0;` instead of `border: zero;` to disable border.

See :
https://stackoverflow.com/questions/2922909/should-i-use-border-none-or-
border-0

Pros:
- More concise
- Used a lot

Cons:
- X

Other convention: `border: none;`

.sass-lint.yml

index ae8aeba562a2e7c5024807368682290b89816945..7a1ff5d5234cf12531978618b63c35b62a32c2d3 100644 (file)
@@ -17,7 +17,7 @@ options:
 rules:
   border-zero:
     - 1
-    - convention: zero
+    - convention: '0'
 
   brace-style:
     - 1