mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-14 13:43:46 +00:00
fix linting
This commit is contained in:
@@ -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"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
@@ -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"],
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user