Add logging with Winston
This commit is contained in:
parent
e40ed22746
commit
9293c92e58
8 changed files with 357 additions and 25 deletions
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Reference in a new issue