feat: Removed transaction from segment #5522
Annotations
10 errors and 10 warnings
Run Linting:
test/unit/transaction/trace/index.test.js#L17
'DTPayload' is assigned a value but never used
|
Run Linting:
test/unit/transaction/trace/index.test.js#L23
'NEWRELIC_TRACE_HEADER' is assigned a value but never used
|
Run Linting:
test/unit/transaction/trace/index.test.js#L59
Do not use 'new' for side effects
|
Run Linting:
test/unit/transaction/trace/index.test.js#L59
Replace `config:·agent.config,·name:·'Custom/Test17/Child1',·collect:·true,·traceStacks:·transaction.traceStacks,·root` with `⏎········config:·agent.config,⏎········name:·'Custom/Test17/Child1',⏎········collect:·true,⏎········traceStacks:·transaction.traceStacks,⏎········root⏎······`
|
Run Linting:
test/unit/transaction/trace/index.test.js#L118
Replace `·config:·agent.config,·name:·'test',·collect:·true,·traceStacks:·transaction.traceStacks,·root` with `⏎······config:·agent.config,⏎······name:·'test',⏎······collect:·true,⏎······traceStacks:·transaction.traceStacks,⏎······root⏎····`
|
Run Linting:
test/unit/transaction/trace/index.test.js#L121
Replace `·config:·agent.config,·name:'nested',·collect:·true,·traceStacks:·transaction.traceStacks,·root` with `⏎······config:·agent.config,⏎······name:·'nested',⏎······collect:·true,⏎······traceStacks:·transaction.traceStacks,⏎······root⏎····`
|
Run Linting:
test/unit/transaction/trace/index.test.js#L178
Replace `·config:·agent.config,·name:·'test',·collect:·true,·traceStacks:·transaction.traceStacks,·root` with `⏎······config:·agent.config,⏎······name:·'test',⏎······collect:·true,⏎······traceStacks:·transaction.traceStacks,⏎······root⏎····`
|
Run Linting:
test/unit/transaction/trace/index.test.js#L181
Replace `·config:·agent.config,·name:·'nested',·collect:·true,·traceStacks:·transaction.traceStacks,·root` with `⏎······config:·agent.config,⏎······name:·'nested',⏎······collect:·true,⏎······traceStacks:·transaction.traceStacks,⏎······root⏎····`
|
Run Linting:
test/unit/transaction/trace/index.test.js#L201
Replace `·config:·agent.config,·name:·'test',·collect:·true,·traceStacks:·transaction.traceStacks,·root` with `⏎······config:·agent.config,⏎······name:·'test',⏎······collect:·true,⏎······traceStacks:·transaction.traceStacks,⏎······root⏎····`
|
Run Linting:
test/unit/transaction/trace/index.test.js#L203
Replace `·config:·agent.config,·name:·'nested',·collect:·true,·traceStacks:·transaction.traceStacks,·root` with `⏎······config:·agent.config,⏎······name:·'nested',⏎······collect:·true,⏎······traceStacks:·transaction.traceStacks,⏎······root⏎····`
|
Run Linting:
api.js#L1551
The type 'getTraceMetadata' is undefined
|
Run Linting:
api.js#L1905
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L124
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L173
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L205
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L311
Missing JSDoc @returns declaration
|
Run Linting:
lib/agent.js#L210
'config' is already declared in the upper scope on line 158 column 16
|
Run Linting:
lib/agent.js#L221
'config' is already declared in the upper scope on line 158 column 16
|
Run Linting:
lib/agent.js#L231
'config' is already declared in the upper scope on line 158 column 16
|
Run Linting:
lib/agent.js#L242
'config' is already declared in the upper scope on line 158 column 16
|
Loading