Parse error in SCSS (sass) files when using the /deep/ selector

406 views
Skip to first unread message

bobb...@gmail.com

unread,
Apr 13, 2017, 6:28:19 AM4/13/17
to SonarQube
I'm getting parse errors on .scss files that contain a /deep/ selector.


Code:
/deep/ .modal-content { ^ 17: width: $sp-modal-small-width; 18: }

Error:
Parse error at line 16 column 1: 6: top:20px; 7: right:20px; 8: color: $gray-light; 9: opacity: 1; 10: } 11: 12: .close:focus, .close:hover { 13: opacity: 0.75; 14: } 15: 16: /deep/ .modal-content { ^ 17: width: $sp-modal-small-width; 18: } 19: 20: .modal-header { 21: padding: 0px $sp-modal-side-padding; 22: height: $sp-modal-header-height; 23: } 24: 25: .modal-body { 26: padding: $sp-modal-content-vertical-padding $sp-modal-side-padding

I think this is a bug in the sonar-scanner but I can't find any references to it anywhere online.

So i guess this is a bug report.

Cheers,

Bob

Marcel

unread,
Apr 13, 2017, 9:15:38 AM4/13/17
to SonarQube, bobb...@gmail.com
I think you can create a issue in the following github project:

Cheers,
Marcel

Tamás Kende

unread,
Apr 14, 2017, 2:52:08 PM4/14/17
to SonarQube, bobb...@gmail.com
pls create an issue at https://github.com/kalidasya/sonar-css-plugin instead, thats the new home of the sonar css plugin

ritendra...@gmail.com

unread,
Apr 5, 2018, 5:51:28 AM4/5/18
to SonarQube
Hi Buddy,

Did the parse error on SonarCube server got resolved for you.

Regards
Riten

Tamás Kende

unread,
Apr 5, 2018, 6:31:33 AM4/5/18
to ritendra...@gmail.com, SonarQube
Hi, 

sorry but I completely stopped being involved in sonar-css plugin, please check the active one: https://github.com/racodond/sonar-css-plugin it is more up to date might not have the issue, if it does report an issue there.

Cheers


Tamas

--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/Bl3ffFA5UmM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/3bbec5e5-26a9-437b-b252-b7c550bacfd7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages