-
Notifications
You must be signed in to change notification settings - Fork 235
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
usePipeTransformInterfaceRule failure on valid pipe #218
Comments
looks like there is a closed issue #145 for the same. here is my entire package.json
|
I tried to reproduce the issue on http://codelyzer.com/ but I wasn't able to. Would you try the same and let me know if you get an error? |
I couldnt reproduce on the site but on the project it gives this warning. we are using this in JHipster. So i think it has something to do with typescript or some other dependency version |
Could be related to TypeScript version mismatch. Can you verify which one are you using in your project? |
I'm getting the same bug on atom-tslint and also not able to reproduce on the codelyzer website. project
atom |
this silences it. I think there's an issue with tslint Pipe and the Pipe class name? Atom seems to think import { Pipe as NgPipe, PipeTransform } from '@angular/core';
@NgPipe({ name: 'matchMode' })
export class MatchModePipe implements PipeTransform {
transform(value: any) {
if (!value) {
return '';
}
return getMode(value);
}
} |
@scttcper unfortunately this doesn't work at this point. Probably it'll be fixed in future releases when we reuse the language service in our front-end. |
@scttcper I meant that codelyzer doesn't know that |
The simple below pipe fails the validation, I'm unable to figure out the root cause
The text was updated successfully, but these errors were encountered: