Often times, esLint would complain that a method should be placed after another method (I am using React so I'm not sure if it makes a difference). I am just wondering on what basis does it recommend a particular ordering?
All I know is that lifecycle methods should come first (in their proper order), then below them are the custom methods. But esLint would also complain about the ordering of those custom methods and I'm not sure why?