-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Atom indicating Definition for rule 'react/jsx-sort-prop-types' was not found #1488
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
Comments
Would you like to send a PR to fix our ESLint config to point to the different rule name? |
@gaearon I'd be happy to, but I'm trying to run down exactly where this is configured - I'm afraid I'm still trying to figure out how everything is hanging together. I presume that the configurations are set in this file? There is no |
That's the right file. If the rule was renamed we should probably rename it there too? |
@gaearon From what I can tell, the If that is indeed the only spot where this rule can be defined, then please close this issue and I'll try to figure out why this issue is presenting itself on my machine. |
Maybe you have an |
@gaearon Sigh, you are correct. There was an unexpected |
No worries! 👍 |
Wow been struggling with this for months! Gave up and just stumbled on this :) |
I am attempting to have Atom show me linting issues in the editor by following these instructions.
Every javscript file I open produces this ESLint warning: "Definition for rule 'react/jsx-sort-prop-types' was not found"
This is related to the removal of this rule here.
I presume the ESLint configuration is referencing this removed rule, but I'm at a loss trying to identify where exactly.
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected): web-poc@0.1. C:\Users\cha\Documents\Repos\poc `-- (empty)node -v
: v.4.6.1npm -v
: 4.2.0Then, specify:
The text was updated successfully, but these errors were encountered: