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
Describe the bug
The rule no-insecure-random is requiring ESLint. const eslint = require("eslint/lib/eslint");
If ESLint is installed in a different directory from the plugin this will lead to an error.
To Reproduce
Steps to reproduce the behavior:
Create a code with insecure random algorithm. E.x. crypo.pseudoRandomBytes
Install ESLint in a different directory from the plugins.
Add the resolve-plugin-relative-to command to load those plugins.
Expected behavior
The rule should run properly without any crashes and not requiring ESLint.
The text was updated successfully, but these errors were encountered:
Describe the bug
The rule
no-insecure-random
is requiring ESLint.const eslint = require("eslint/lib/eslint");
If ESLint is installed in a different directory from the plugin this will lead to an error.
To Reproduce
Steps to reproduce the behavior:
crypo.pseudoRandomBytes
resolve-plugin-relative-to
command to load those plugins.Expected behavior
The rule should run properly without any crashes and not requiring ESLint.
The text was updated successfully, but these errors were encountered: