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
The eslint configuration file is named incorrectly causing the configuration to not be picked up by eslint.
I came about this because I was looking to add an eslint config for the cypress folder. I couldn't figure out why it wasn't working and then I dug into the eslint docs and found the filename in the project for the configuration was incorrect. Since I copied that file to the cypress folder, it did not get picked up like the root config wasn't being picked up.
To Reproduce
Steps to reproduce the behavior:
Edit any JS file and modify something you know that eslint will fix, e.g. an a11y issue in JSX.
eslint doesn't complain.
Expected behavior
The configuration should be picked up by eslint
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
The eslint configuration file is named incorrectly causing the configuration to not be picked up by eslint.
I came about this because I was looking to add an eslint config for the cypress folder. I couldn't figure out why it wasn't working and then I dug into the eslint docs and found the filename in the project for the configuration was incorrect. Since I copied that file to the cypress folder, it did not get picked up like the root config wasn't being picked up.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The configuration should be picked up by eslint
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: