Skip to content
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

Rule: Support translateService, translatePipe and TranslateDirective inside of components #13

Open
itekaf opened this issue Sep 28, 2019 · 0 comments

Comments

@itekaf
Copy link
Owner

itekaf commented Sep 28, 2019

Feature request

Support translateService, translatePipe and TranslateDirective inside of components

Example:

translate.get('HELLO', {value: 'world'}).subscribe((res: string) => {
    console.log(res);
    //=> 'hello world'
});

Describe the solution you'd like

Just suggestion use AST for this case and for feature you can merge it with tslint or eslint

@itekaf itekaf modified the milestones: 1.2.0, 2.0.0 Sep 28, 2019
@itekaf itekaf changed the title Support translateService, translatePipe and TranslateDirective inside of components Rule: Support translateService, translatePipe and TranslateDirective inside of components Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant