Save a reference to console methods in console transport #759
Annotations
31 warnings
Tests (18):
lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
|
Tests (18):
lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
|
Tests (18):
lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
|
Tests (18):
lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
|
Tests (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (18):
lib/winston/profiler.js#L51
Unnecessary semicolon
|
Tests (20):
lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
|
Tests (18):
lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
|
Tests (20):
lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
|
Tests (18):
lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
|
Tests (20):
lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
|
Tests (18):
lib/winston/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
|
Tests (20):
lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
|
Tests (18):
lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
|
Tests (20):
lib/winston/profiler.js#L51
Unnecessary semicolon
|
Tests (18):
lib/winston/transports/file.js#L300
'buff' is already declared in the upper scope on line 254 column 9
|
Tests (20):
lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
|
Tests (20):
lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
|
Tests (20):
lib/winston/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
|
Tests (20):
lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
|
Tests (20):
lib/winston/transports/file.js#L300
'buff' is already declared in the upper scope on line 254 column 9
|
Tests (16):
lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
|
Tests (16):
lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
|
Tests (16):
lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
|
Tests (16):
lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
|
Tests (16):
lib/winston/profiler.js#L51
Unnecessary semicolon
|
Tests (16):
lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
|
Tests (16):
lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
|
Tests (16):
lib/winston/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
|
Tests (16):
lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
|
Tests (16):
lib/winston/transports/file.js#L300
'buff' is already declared in the upper scope on line 254 column 9
|