After bumping to React 18 linter was outputting following error: "ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot" This fixes the problem.
This applies the updated sorting rules to the files by running `npm run lint:js:fix`