Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Really long box-shadow definition #5

Closed
martinpesout opened this issue Jan 12, 2017 · 1 comment
Closed

Really long box-shadow definition #5

martinpesout opened this issue Jan 12, 2017 · 1 comment

Comments

@martinpesout
Copy link

I have this CSS property:

box-shadow: rgba(#000, .15) 0 1px 3px 0,
	rgba(#000, .05) 0 0 0 1px,
	rgba(#3DB6F2, .6) 0 0 0 1px;

With stylelint rule "value-list-comma-space-after": "always", I have to rewrite it to:

box-shadow: rgba(#000, .15) 0 1px 3px 0, rgba(#000, .05) 0 0 0 1px, rgba(#3DB6F2, .6) 0 0 0 1px;

From my point of view this will make box-shadow property really long on one line. What will be better is to allow both: writing everything on one line or on multiline. And always keep rule that we need to have space after comma. Changing stylelint rule value-list-comma-space-after to this "value-list-comma-space-after": "always-single-line", will do this magic 🌹

@adamkudrna
Copy link
Member

We decided to discontinue this project in favour of stylelint-config-visionapps which is a more strict fork of stylelint-config-standard.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants