Atom indicating Definition for rule 'react/jsx-sort-prop-types' was not found
See original GitHub issueI 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.0
Then, specify:
- Operating system: Windows 10
- Browser and version: N/A
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
(ESLint) Definition for rule 'react/jsx-sort-prop-types' was not ...
This just means that ESLint does not match the configuration found on .eslintrc file. Clicking the "Reset global ...
Read more >(Eslint) Definition For Rule 'React/Jsx-Sort-Prop-Types' Was ...
(Eslint) Definition For Rule 'React/Jsx-Sort-Prop-Types' Was Not Found ... periodic system whereby the or atomic species the atomic number may be indicated ......
Read more >API - React Select
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present...
Read more >How to create reusable form components with React Hook ...
We can see that the type of register is UserFormRegister<RegistrationFormFields> , but passing in a register property of type UserFormRegister< ...
Read more >Typechecking With PropTypes - React
React.PropTypes has moved into a different package since React v15.5. Please use the prop-types library instead. We provide a codemod script to automate...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gaearon Sigh, you are correct. There was an unexpected
.eslintrc
up the directory tree which was causing this issue. Sorry for non-issue, I owe you a beer.Wow been struggling with this for months! Gave up and just stumbled on this 😃