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
Unknown node type PrivateIdentifier.
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 eslint(tree-shaking/no-side-effects-in-initialization)
Fix might just be to duplicate the processing for "Identifier" as "PrivateIdentifier" - I have a local build where this resolves the issue for me but I'm not confident that the solution is correct - nor am I certain how best to write unit tests for it or I'd submit a PR.
Hi,
If I have some TypeScript like:
I get an error:
at the line
#secret: string
.eslint: 8.22.0
eslint-plugin-tree-shaking: 1.10.0
eslint-config-prettier: 8.5.0
eslint-plugin-import: 2.26.0
eslint-plugin-prettier: 4.2.1,
typescript: 4.7.4
@typescript-eslint/eslint-plugin: 5.34.0
@typescript-eslint/parser: 5.34.0
Is this likely an issue with the plugin or my tsconfig or ....?
Thanks,
Tim
The text was updated successfully, but these errors were encountered: