Remove spurious warning

This commit is contained in:
Manav Rathi
2024-10-11 12:01:51 +05:30
parent e1199222e1
commit b92e9e366b
2 changed files with 3 additions and 1 deletions

View File

@@ -22,5 +22,8 @@ module.exports = {
],
/* Next.js supports the JSX transform introduced in React 17 */
"react/react-in-jsx-scope": "off",
/* Without React in scope, this rule starts causing false positives (We
don't use prop types in our own code anyways). */
"react/prop-types": "off"
},
};

View File

@@ -1,4 +1,3 @@
/* eslint-disable react/prop-types */
/* eslint-disable @typescript-eslint/no-floating-promises */
/* eslint-disable react-hooks/exhaustive-deps */
/* eslint-disable @typescript-eslint/no-unsafe-return */