fix linting

This commit is contained in:
Elio Bischof
2023-06-08 07:19:25 +02:00
parent 59f042619a
commit bb96b0d067
3 changed files with 8 additions and 26 deletions

View File

@@ -2,15 +2,6 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"jsx": "react-jsxdev", "jsx": "react-jsxdev",
"types": [ "types": ["node", "jest", "@testing-library/jest-dom"]
"node", }
"jest",
"@testing-library/jest-dom"
]
},
"exclude": [
"../cypress",
"../cypress.config.ts",
"../node_modules"
]
} }

View File

@@ -14,6 +14,6 @@ export default async (): Promise<Config.InitialOptions> => {
}), }),
testEnvironment: "jsdom", testEnvironment: "jsdom",
testRegex: "/__test__/.*\\.test\\.tsx?$", testRegex: "/__test__/.*\\.test\\.tsx?$",
modulePathIgnorePatterns: ["cypress"] modulePathIgnorePatterns: ["cypress"],
}; };
}; };

View File

@@ -5,9 +5,7 @@
"rootDir": ".", "rootDir": ".",
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"#/*": [ "#/*": ["./*"]
"./*"
]
}, },
"plugins": [ "plugins": [
{ {
@@ -15,13 +13,6 @@
} }
] ]
}, },
"include": [ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"next-env.d.ts", "exclude": ["node_modules"]
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
} }