Skip to content

Merge pull request #499 from macbre/add/eslint #591

Merge pull request #499 from macbre/add/eslint

Merge pull request #499 from macbre/add/eslint #591

Triggered via push April 25, 2024 12:15
Status Success
Total duration 42s
Artifacts

nodejs.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

20 warnings and 2 notices
tests (latest)
Using Node.js v22.0.0
tests (lts/*)
Using Node.js v20.12.2
tests (latest): jest.config.js#L3
Syntax error in type: import('jest').Config
tests (latest): lib/api.js#L203
Found existsSync from package "fs" with non literal argument at index 0
tests (latest): lib/bot.js#L3
Syntax error in type: import('./types').BotOptions
tests (latest): lib/bot.js#L41
Found readFileSync from package "fs" with non literal argument at index 0
tests (latest): lib/bot.js#L1543
Found non-literal argument to RegExp Constructor
tests (latest): lib/wikidata.js#L2
Syntax error in type: import('./types').ArticleSitelinksMap
tests (latest): lib/wikidata.js#L3
Syntax error in type: import('./types').ClaimsMap
tests (latest): lib/wikidata.js#L4
Syntax error in type: import('./types').ClaimEntry
tests (latest): lib/wikidata.js#L5
Syntax error in type: import('./types').DescriptionsMap
tests (latest): lib/wikidata.js#L39
Missing JSDoc @return declaration
tests (lts/*): jest.config.js#L3
Syntax error in type: import('jest').Config
tests (lts/*): lib/api.js#L203
Found existsSync from package "fs" with non literal argument at index 0
tests (lts/*): lib/bot.js#L3
Syntax error in type: import('./types').BotOptions
tests (lts/*): lib/bot.js#L41
Found readFileSync from package "fs" with non literal argument at index 0
tests (lts/*): lib/bot.js#L1543
Found non-literal argument to RegExp Constructor
tests (lts/*): lib/wikidata.js#L2
Syntax error in type: import('./types').ArticleSitelinksMap
tests (lts/*): lib/wikidata.js#L3
Syntax error in type: import('./types').ClaimsMap
tests (lts/*): lib/wikidata.js#L4
Syntax error in type: import('./types').ClaimEntry
tests (lts/*): lib/wikidata.js#L5
Syntax error in type: import('./types').DescriptionsMap
tests (lts/*): lib/wikidata.js#L39
Missing JSDoc @return declaration