This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
log the rule with information about error #219
Comments
"logout the rule with information about error" what do mean by that? |
I mean that node-jscs should log not only error, but error with rule responsible rule |
Even better: use error codes, like Closure. https://code.google.com/p/closure-linter/source/browse/trunk/closure_linter/errors.py Then have a command to map from error codes to responsible rule(s). Example: "jscs explain E101" |
One reason this is better is that you can do things with specific error codes. For instance, if E101 = Line too long, then you could have a comment to allow a really long regex line: var x = /myreallyreallylongregexgoeshere/; // jscs ignore E101 |
Yes, adding rule code is good idea |
Okay let's focus on #224 then |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
it would be hepfull with configuring
The text was updated successfully, but these errors were encountered: