Chore: some type fixes (#59030)

some type fixes
This commit is contained in:
Ashley Harrison
2022-11-29 15:52:08 +00:00
committed by GitHub
parent f485f8a8f8
commit 191ca1df86
13 changed files with 81 additions and 119 deletions

View File

@@ -36,7 +36,10 @@ function countEslintErrors() {
};
const isTestFile =
filePath.endsWith('.test.tsx') || filePath.endsWith('.test.ts') || filePath.includes('__mocks__');
filePath.endsWith('.test.tsx') ||
filePath.endsWith('.test.ts') ||
filePath.includes('__mocks__') ||
filePath.includes('public/test/');
if (!isTestFile) {
rules['@typescript-eslint/consistent-type-assertions'] = [