Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indent problem with multiple @include #562

Closed
xBLADEx opened this issue Dec 5, 2017 · 1 comment
Closed

Indent problem with multiple @include #562

xBLADEx opened this issue Dec 5, 2017 · 1 comment

Comments

@xBLADEx
Copy link

xBLADEx commented Dec 5, 2017

demo

From demo shown, it appears multiple mixins used via @include are not keeping indentation or spacing.

"csscomb.formatOnSave": true,
	"csscomb.preset": {
		"remove-empty-rulesets": false,
		"always-semicolon": true,
		"color-case": "upper",
		"block-indent": "\t",
		"color-shorthand": false,
		"element-case": "lower",
		"leading-zero": true,
		"quotes": "single",
		"sort-order": [
			["$import", "$variable", "$extend", "$include"],
			["..."],
			["$include mq"]
		],
		"sort-order-fallback": "abc",
		"space-before-colon": "",
		"space-after-colon": " ",
		"space-before-combinator": " ",
		"space-after-combinator": " ",
		"space-between-declarations": "\n",
		"space-before-opening-brace": " ",
		"space-after-opening-brace": "\n",
		"space-after-selector-delimiter": "\n",
		"space-before-selector-delimiter": "",
		"space-before-closing-brace": "\n",
		"strip-spaces": true,
		"unitless-zero": true
	},
@xBLADEx
Copy link
Author

xBLADEx commented Dec 5, 2017

I figured it out. Apparently the file had CRLF set instead of LF line endings.

@xBLADEx xBLADEx closed this as completed Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant