Add logging with Winston

This commit is contained in:
Hannah dagemark 2026-09-15 11:34:39 +02:00
commit 9293c92e58
8 changed files with 357 additions and 25 deletions

View file

@ -13,19 +13,20 @@ const eslintConfig = defineConfig([
plugins: {
"unused-imports": unusedImports,
},
rules: {
"no-unused-vars": "warn",
"no-empty-function": "warn",
"no-undef": "error",
"react/self-closing-comp": "warn",
"import/order": [
"warn",
rules: {
"no-unused-vars": "warn",
"no-empty-function": "warn",
"no-undef": "error",
"no-console": "warn",
"react/self-closing-comp": "warn",
"import/order": [
"warn",
{
"groups": ["builtin", "external", "internal"],
"newlines-between": "always"
}
]
}
groups: ["builtin", "external", "internal"],
"newlines-between": "always",
},
],
},
},
// Override default ignores of eslint-config-next.
globalIgnores([