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
since it is possible to write the very same* syntax in js with babel-plugin-angular2-annotations i wonder if it is possible to modify codelyzer to also support eslint.
I have to admit i haven't looked into how to create custom eslint, tslint rules. If they have similar APIs or if it is possible to re-create each rule with eslint at all.
Hey @tsm91, in theory it is possible - we can turn the JS and TS ASTs to a common format and write our walkers/visitors for their shape. On the other hand, this way we'll loose metadata we get from the type annotations which exists in the TS AST.
Although it is possible, I'd prefer to keep this feature for once we have full feature set for TypeScript development.
Hi @mgechev,
since it is possible to write the very same* syntax in js with babel-plugin-angular2-annotations i wonder if it is possible to modify codelyzer to also support eslint.
I have to admit i haven't looked into how to create custom eslint, tslint rules. If they have similar APIs or if it is possible to re-create each rule with eslint at all.
The text was updated successfully, but these errors were encountered: