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
{{ message }}
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.
When building using grunt-jscs I get Warning: Unsupported rules: requireSpaceBeforeKeywords Use --force to continue.
Upgrading to a newer version of grunt-jscs fixes the problem but the underlying issue should get fixed. That is: don't silently skip jscs on an unknown rule, break the build instead so developers will notice the problem.
The text was updated successfully, but these errors were encountered:
@gustavohenke I understand that according to jscs-dev/node-jscs#334 this feature is meant to address forward-compatibility, but I (unless I misunderstood what is going on) I don't think it works as intended.
I agree that it's okay to ignore unsupported/unknown flags for forward compatibility.
The part I disagree with is that jscs should totally abort on unknown flags. Instead, I expect it to warn about the unknown flags, and run without them.
Did I misunderstand what is going on? Is JSCS still running (without the unknown flag) when this warning is issued?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When building using
grunt-jscs
I getWarning: Unsupported rules: requireSpaceBeforeKeywords Use --force to continue.
Upgrading to a newer version of
grunt-jscs
fixes the problem but the underlying issue should get fixed. That is: don't silently skip jscs on an unknown rule, break the build instead so developers will notice the problem.The text was updated successfully, but these errors were encountered: