From 0a932d96179bbe9eb614ed6f3bcd0e54f19a1c0b Mon Sep 17 00:00:00 2001 From: JubaAzul <118773284+JubaAzul@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:08:17 -0500 Subject: [PATCH] ignore @ts-expect-error in pipeline --- client/.eslintrc.cjs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 client/.eslintrc.cjs diff --git a/client/.eslintrc.cjs b/client/.eslintrc.cjs new file mode 100644 index 0000000..75b4298 --- /dev/null +++ b/client/.eslintrc.cjs @@ -0,0 +1,26 @@ +module.exports = { + root: true, + env: { browser: true, es2020: true }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:react-hooks/recommended', + ], + ignorePatterns: ['dist', '.eslintrc.cjs'], + parser: '@typescript-eslint/parser', + plugins: ['react-refresh'], + rules: { + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, + "overrides": [ + { + "files": ["**/*.test.ts", "**/*.test.tsx"], + "rules": { + "@typescript-eslint/ban-ts-comment": "off" + } + } + ] +}