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

Does .eslintignore not work? #106

Closed
fadehelix opened this issue Oct 1, 2017 · 1 comment · Fixed by #107
Closed

Does .eslintignore not work? #106

fadehelix opened this issue Oct 1, 2017 · 1 comment · Fixed by #107

Comments

@fadehelix
Copy link

I want to ignore src/registerServiceWorker.js file and the simplest way to achieve this is to add the path to the .eslintignore file.
But the file is always linted.

If I add /* eslint-disable */ at the top of the ignored file then it works as expected.

@timarney
Copy link
Owner

timarney commented Oct 2, 2017

Not familiar with how that works myself but likely has to do with facebook/create-react-app#2339 (comment)

flyskywhy added a commit to flyskywhy/g that referenced this issue Feb 21, 2022
…ReferenceError: process is not defined](facebook/create-react-app#11771) ;

    fix react-app-rewired sometimes is not honouring the eslint rules in '.eslintrc.js', so it's ok to enable the eslint rules @ timarney/react-app-rewired#452 ;
    fix react-app-rewired [Does .eslintignore not work?](timarney/react-app-rewired#106)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants