Compare commits

...

1 Commits

Author SHA1 Message Date
Hariom Balhara b4c0bab453 Enable no floating-promises 2023-08-24 15:28:41 +05:30
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module.exports = {
plugins: ["unused-imports"],
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./apps/*/tsconfig.json", "./packages/*/tsconfig.json"],
project: ["../../apps/*/tsconfig.json", "../../packages/*/tsconfig.json"],
},
settings: {
next: {
@ -23,6 +23,7 @@ module.exports = {
"@next/next/no-html-link-for-pages": "off",
"jsx-a11y/role-supports-aria-props": "off", // @see https://github.com/vercel/next.js/issues/27989#issuecomment-897638654
"playwright/no-page-pause": "error",
"@typescript-eslint/no-floating-promises": "error",
"react/jsx-curly-brace-presence": ["error", { props: "never", children: "never" }],
"react/self-closing-comp": ["error", { component: true, html: true }],
"@typescript-eslint/no-unused-vars": [