-
Notifications
You must be signed in to change notification settings - Fork 237
Codelyzer doesn't support export default #778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That's probably in the Angular router where we collect the metadata? |
I agree that instead of using the non-null assertion operator, we should check all these properties correctly! However, I disagree on the point of returning class names (not just class names) in failure messages because I don't see much value in returning them since the I really prefer to return generic/direct messages without polluting the output with class/variable names, as TSLint does, for example. One example is Current message: I hope you got the idea. |
I didn't go much more deeper into the analyse. But, I can say that a class with an Angular decorator and no name should be throw an error. |
@rafaelss95 yes, this makes sense. |
I reedit my comment form the PR #754.
If we create a simple class like that:
and we launch
ng lint
, we have a big big crash [here] (https://github.com/mgechev/codelyzer/blob/master/src/propertyDecoratorBase.ts#L41) and many other places !The text was updated successfully, but these errors were encountered: