File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,11 @@ a { color: red }
8585# ## colon-space
8686Available values:
8787 * ` {Boolean}` true (means ` after` )
88- * ` {String}` : ` before` , ` after` or ` both`
88+ * ` {String}` : ` before` , ` after` , ` both` or any combination of whitespaces
89+ and/or a colon (` ` , ` : ` , ` \t :\n\t ` etc.)
8990
9091Example: ` { " colon-space" : true }`
92+
9193` ` ` css
9294/* before * /
9395a { color:red }
@@ -96,6 +98,31 @@ a { color:red }
9698a { color: red }
9799` ` `
98100
101+ Example: ` { " colon-space" : " :\n " }`
102+
103+ ` ` ` css
104+ /* before * /
105+ a {
106+ color: red;
107+ }
108+
109+ /* after * /
110+ a {
111+ color:
112+ red;
113+ }
114+ ` ` `
115+
116+ Example: ` { " colon-space" : " :" }`
117+
118+ ` ` ` css
119+ /* before * /
120+ a { color: red }
121+
122+ /* after * /
123+ a { color:red }
124+ ` ` `
125+
99126# # Tests
100127
101128Run ` npm test` for tests.
You can’t perform that action at this time.
0 commit comments