Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eslint configuration not being picked up #184

Closed
nickytonline opened this issue Sep 12, 2020 · 0 comments · Fixed by #185
Closed

eslint configuration not being picked up #184

nickytonline opened this issue Sep 12, 2020 · 0 comments · Fixed by #185
Labels
bug Something isn't working

Comments

@nickytonline
Copy link
Contributor

nickytonline commented Sep 12, 2020

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:

  1. Edit any JS file and modify something you know that eslint will fix, e.g. an a11y issue in JSX.
  2. 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

@nickytonline nickytonline added the bug Something isn't working label Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant