fix: Added eslint and prettier-eslint for formatting and linting

This commit is contained in:
Marius Begby committed 2023-07-13 11:35:39 +02:00
1 parent 78dcc1b2e9
commit d0f1c4103a
19 files changed
+1638 -71

No files matched your search

+4 -4
View File
@@ -6,22 +6,22 @@ const transport = pino.transport({
{
target: 'pino/file',
level: process.env.MINIMUM_LOG_LEVEL,
options: { destination: `./app-all.log` }
options: { destination: './app-all.log' }
},
{
target: 'pino/file',
level: 'debug',
options: { destination: `./app-debug.log` }
options: { destination: './app-debug.log' }
},
{
target: 'pino/file',
level: 'info',
options: { destination: `./app-info.log` }
options: { destination: './app-info.log' }
},
{
target: 'pino/file',
level: 'error',
options: { destination: `./app-error.log` }
options: { destination: './app-error.log' }
},
{
level: process.env.MINIMUM_LOG_LEVEL_CONSOLE,