create .prettierrc.js and put suitable rules for prettier from the official documentation keeping the new eslint config rules in mind
also add a new config rule "react/jsx-filename-extension": [1, { "allow": "as-needed" }], for eslint to set rule to put jsx file extension wherever JSX code is present
create
.prettierrc.js
and put suitable rules for prettier from the official documentation keeping the new eslint config rules in mindalso add a new config rule
"react/jsx-filename-extension": [1, { "allow": "as-needed" }],
for eslint to set rule to put jsx file extension wherever JSX code is present