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
Given a class with a static block, eslint-plugin-tree-shaking produces the following error:
error Unknown node type StaticBlock.
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
For example:
classFoo{static{console.log("FOO");}}
The text was updated successfully, but these errors were encountered:
ESLint version:
8.57.0
ESLint plugins:
Given a class with a static block,
eslint-plugin-tree-shaking
produces the following error:For example:
The text was updated successfully, but these errors were encountered: