You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nested maps whitespacing does not lint correctly with sass-lint 1.8.2
The issue is consistent with sass-loader@3.2.3 and Atom's linter-sass-lint@1.6.1.
I'm using a Mac 10.11.5.
./src/sass/variables/_font-sizes.scss
40:5 warning Expected indentation of 12 spaces but found 4 indentation
41:9 warning Expected indentation of 16 spaces but found 8 indentation
42:9 warning Expected indentation of 16 spaces but found 8 indentation
43:9 warning Expected indentation of 16 spaces but found 8 indentation
44:9 warning Expected indentation of 16 spaces but found 8 indentation
46:5 warning Expected indentation of 16 spaces but found 4 indentation
47:9 warning Expected indentation of 20 spaces but found 8 indentation
48:9 warning Expected indentation of 20 spaces but found 8 indentation
49:9 warning Expected indentation of 20 spaces but found 8 indentation
50:9 warning Expected indentation of 20 spaces but found 8 indentation
52:5 warning Expected indentation of 20 spaces but found 4 indentation
53:9 warning Expected indentation of 24 spaces but found 8 indentation
54:9 warning Expected indentation of 24 spaces but found 8 indentation
55:9 warning Expected indentation of 24 spaces but found 8 indentation
56:9 warning Expected indentation of 24 spaces but found 8 indentation
58:5 warning Expected indentation of 24 spaces but found 4 indentation
59:9 warning Expected indentation of 28 spaces but found 8 indentation
60:9 warning Expected indentation of 28 spaces but found 8 indentation
61:9 warning Expected indentation of 28 spaces but found 8 indentation
62:9 warning Expected indentation of 28 spaces but found 8 indentation
64:5 warning Expected indentation of 28 spaces but found 4 indentation
65:9 warning Expected indentation of 32 spaces but found 8 indentation
66:9 warning Expected indentation of 32 spaces but found 8 indentation
67:9 warning Expected indentation of 32 spaces but found 8 indentation
68:9 warning Expected indentation of 32 spaces but found 8 indentation
70:5 warning Expected indentation of 32 spaces but found 4 indentation
71:9 warning Expected indentation of 36 spaces but found 8 indentation
72:9 warning Expected indentation of 36 spaces but found 8 indentation
73:9 warning Expected indentation of 36 spaces but found 8 indentation
74:9 warning Expected indentation of 36 spaces but found 8 indentation
Indentation setting (yml):
indentation:
- 1
- size: 4
The text was updated successfully, but these errors were encountered:
No, there is just some variables and there was a function definition. The function turned out to be the problem. I moved the function to a separate file, which solved it.
Nested maps whitespacing does not lint correctly with sass-lint 1.8.2
The issue is consistent with
sass-loader@3.2.3
and Atom'slinter-sass-lint@1.6.1
.I'm using a Mac 10.11.5.
Result:
Indentation setting (yml):
The text was updated successfully, but these errors were encountered: