csslint icon indicating copy to clipboard operation
csslint copied to clipboard

"errors" rule. Expected RBRACE at line

Open alundiak opened this issue 10 years ago • 13 comments

CSS: image

and csslint (via grunt-contrib-csslint) with errors: false gives me:

[L47:C25]
>> ERROR: Expected RBRACE at line 47, col 25. This rule looks for recoverable syntax errors. (errors) Browsers: All

Is this csslint issue itself, or what? I saw closed issue https://github.com/CSSLint/csslint/issues/92, very similar to this:

Note: original spec of filter doesn't require wrapping by " ", but in fatc it fix the issue: Having this:

filter: "alpha(opacity: 0)";

no errors.

Tested in csslint v. 0.10.0. npm v 1.4.28 node 0.10.33 Win7.

alundiak avatar Jul 07 '15 15:07 alundiak

+1, disturbing issue

XOP avatar Sep 21 '15 10:09 XOP

Any updates on this?

OmgImAlexis avatar Sep 17 '16 23:09 OmgImAlexis

PING: @eriwen @nschonni @tomasz-oponowicz @XhmikosR @zachleat

OmgImAlexis avatar Oct 22 '16 04:10 OmgImAlexis

Yeah, no idea why it happens but I have noticed it too. This is a regression as far as I can tell.

XhmikosR avatar Oct 22 '16 08:10 XhmikosR

I have a similar error. I don't know what error is. Can you explain to me, please ? Thank you so much

Duongg avatar Dec 07 '17 02:12 Duongg

Still an issue. Any plans to fix it? @eriwen @nschonni @tomasz-oponowicz @XhmikosR @zachleat

grid-template-columns: repeat(3, minmax(300px, 1.0fr));

hakimio avatar Feb 08 '18 08:02 hakimio

Il manque un ; à la fin de la ligne du dessus. It's missing a ; at the end of the top line.

lulu5239 avatar Feb 10 '18 15:02 lulu5239

I'm seeing the same issue as @hakimio. Hope it gets resolved soon.

HYR avatar Mar 05 '18 15:03 HYR

yup, really annoying when you spend a while ensuring there are no code errors 👎

Showcase-Joz avatar Mar 18 '18 20:03 Showcase-Joz

Any updates on this? It seems to also break on :global in the code snipped below:

:global(.myclass) hr {
    margin: 10px;
}

dkhalife avatar Dec 31 '18 22:12 dkhalife

Im getting the same thing

CSSLint: Expected RBRACE at ......

:root { --blue: #007bff; }

BradHeff avatar Feb 15 '19 22:02 BradHeff

Im getting the same thing

CSSLint: Expected RBRACE at ......

:root { --blue: #007bff; }

I get the same error too... also CSSLint is saying that the rule (:root) is empty...

manuel-martinez-dev avatar Feb 16 '19 17:02 manuel-martinez-dev

Still an issue in 2021 and linked to #720

GeneralMine avatar Jul 20 '21 00:07 GeneralMine