Incompatible with @typescript-eslint
darthtrevino opened this issue ยท 3 comments
darthtrevino commented
When using the @typescript-eslint plugin in tandem with this package, there are UnknownNodeType
errors
Unknown node type TSInterfaceDeclaration.
If you are using the latest version of this plugin, please consider filing an issue noting this message, the offending statement, your ESLint version, and any active ESLint presets and plugins tree-shaking/no-side-effects-in-initialization
The issue appears to be here where you are checking the AST for known node types.
It looks like you should either add typescript specific AST nodes to the known node types, or maybe check for a TS
prefix, or skip this check altogether and ignore unknown node types.
JustFly1984 commented
+1 for typescript support
lukastaegert commented
Sorry for the long wait. This is addressed now by #70
lukastaegert commented
๐ This issue has been resolved in version 1.8.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐