Fix: Allow node access to "./lib/rules" directory #15176
Closed
+1
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of this pull request? (put an "X" next to an item)
[ X ] Bug fix (template)
What changes did you make? (Give an overview)
Add access to
./lib/rules
directory in package.json'sexports
After update to v8.0.1 my vscode console show the error attached bellow.
The proposed patch fixed that.
Prerequisites checklist
Tell us about your environment
ESLint Version:
8.0.1
Node Version:
My vscode uses v14.16.0, outside I use v16
npm Version:
8.0.0
What parser (default,
@babel/eslint-parser
,@typescript-eslint/parser
, etc.) are you using?Both of them
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue.
After updating eslint in my workspace (via yarn) and start vscode, eslint don't start.
What did you expect to happen?
Eslint works
What actually happened? Please include the actual, raw output from ESLint.