Skip to content

Add ESLint

Add ESLint #113

Triggered via pull request November 28, 2023 00:33
Status Success
Total duration 39s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

66 warnings
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (18.x): lib/channel.js#L41
Expected a conditional expression and instead saw an assignment
build (18.x): lib/channel.js#L188
Expected a conditional expression and instead saw an assignment
build (18.x): lib/channel_model.js#L293
Expected a conditional expression and instead saw an assignment
build (18.x): lib/connection.js#L425
Expected a conditional expression and instead saw an assignment
build (18.x): lib/defs.js#L474
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (18.x): lib/defs.js#L478
'fields' is defined but never used. Allowed unused args must match /^_/u
build (18.x): lib/defs.js#L523
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (18.x): lib/defs.js#L527
'fields' is defined but never used. Allowed unused args must match /^_/u
build (18.x): lib/defs.js#L717
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (18.x): lib/defs.js#L721
'fields' is defined but never used. Allowed unused args must match /^_/u
build (10.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (10.x): lib/channel.js#L41
Expected a conditional expression and instead saw an assignment
build (10.x): lib/channel.js#L188
Expected a conditional expression and instead saw an assignment
build (10.x): lib/channel_model.js#L293
Expected a conditional expression and instead saw an assignment
build (10.x): lib/connection.js#L425
Expected a conditional expression and instead saw an assignment
build (10.x): lib/defs.js#L474
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (10.x): lib/defs.js#L478
'fields' is defined but never used. Allowed unused args must match /^_/u
build (10.x): lib/defs.js#L523
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (10.x): lib/defs.js#L527
'fields' is defined but never used. Allowed unused args must match /^_/u
build (10.x): lib/defs.js#L717
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (10.x): lib/defs.js#L721
'fields' is defined but never used. Allowed unused args must match /^_/u
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (20.x): lib/channel.js#L41
Expected a conditional expression and instead saw an assignment
build (20.x): lib/channel.js#L188
Expected a conditional expression and instead saw an assignment
build (20.x): lib/channel_model.js#L293
Expected a conditional expression and instead saw an assignment
build (20.x): lib/connection.js#L425
Expected a conditional expression and instead saw an assignment
build (20.x): lib/defs.js#L474
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (20.x): lib/defs.js#L478
'fields' is defined but never used. Allowed unused args must match /^_/u
build (20.x): lib/defs.js#L523
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (20.x): lib/defs.js#L527
'fields' is defined but never used. Allowed unused args must match /^_/u
build (20.x): lib/defs.js#L717
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (20.x): lib/defs.js#L721
'fields' is defined but never used. Allowed unused args must match /^_/u
build (12.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (12.x): lib/channel.js#L41
Expected a conditional expression and instead saw an assignment
build (12.x): lib/channel.js#L188
Expected a conditional expression and instead saw an assignment
build (12.x): lib/channel_model.js#L293
Expected a conditional expression and instead saw an assignment
build (12.x): lib/connection.js#L425
Expected a conditional expression and instead saw an assignment
build (12.x): lib/defs.js#L474
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (12.x): lib/defs.js#L478
'fields' is defined but never used. Allowed unused args must match /^_/u
build (12.x): lib/defs.js#L523
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (12.x): lib/defs.js#L527
'fields' is defined but never used. Allowed unused args must match /^_/u
build (12.x): lib/defs.js#L717
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (12.x): lib/defs.js#L721
'fields' is defined but never used. Allowed unused args must match /^_/u
build (14.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (14.x): lib/channel.js#L41
Expected a conditional expression and instead saw an assignment
build (14.x): lib/channel.js#L188
Expected a conditional expression and instead saw an assignment
build (14.x): lib/channel_model.js#L293
Expected a conditional expression and instead saw an assignment
build (14.x): lib/connection.js#L425
Expected a conditional expression and instead saw an assignment
build (14.x): lib/defs.js#L474
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (14.x): lib/defs.js#L478
'fields' is defined but never used. Allowed unused args must match /^_/u
build (14.x): lib/defs.js#L523
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (14.x): lib/defs.js#L527
'fields' is defined but never used. Allowed unused args must match /^_/u
build (14.x): lib/defs.js#L717
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (14.x): lib/defs.js#L721
'fields' is defined but never used. Allowed unused args must match /^_/u
build (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (16.x): lib/channel.js#L41
Expected a conditional expression and instead saw an assignment
build (16.x): lib/channel.js#L188
Expected a conditional expression and instead saw an assignment
build (16.x): lib/channel_model.js#L293
Expected a conditional expression and instead saw an assignment
build (16.x): lib/connection.js#L425
Expected a conditional expression and instead saw an assignment
build (16.x): lib/defs.js#L474
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (16.x): lib/defs.js#L478
'fields' is defined but never used. Allowed unused args must match /^_/u
build (16.x): lib/defs.js#L523
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (16.x): lib/defs.js#L527
'fields' is defined but never used. Allowed unused args must match /^_/u
build (16.x): lib/defs.js#L717
'buffer' is defined but never used. Allowed unused args must match /^_/u
build (16.x): lib/defs.js#L721
'fields' is defined but never used. Allowed unused args must match /^_/u