Skip to content

Draft: Eslint

Draft: Eslint #284

Re-run triggered July 25, 2024 19:39
Status Success
Total duration 28s
Artifacts

lint.yml

on: pull_request_target
Run linters
18s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 2 warnings
src/commands/NFD.ts#L1226
Replace `(owner.nickname·??·owner.user.username)` with `owner.nickname·??·owner.user.username` (prettier/prettier)
src/commands/NFD.ts#L1227
Replace `(owner.user.avatarURL()·??·undefined)` with `owner.user.avatarURL()·??·undefined` (prettier/prettier)
src/commands/RPG/Character.ts#L26
Replace `⏎····public·user:·User,⏎····public·nickname:·string,⏎····private·seedPhrase?:·string⏎··` with `public·user:·User,·public·nickname:·string,·private·seedPhrase?:·string` (prettier/prettier)
src/guards/RoleChecks.ts#L47
Delete `··` (prettier/prettier)
src/guards/RoleChecks.ts#L48
Delete `··` (prettier/prettier)
src/guards/RoleChecks.ts#L49
Replace `··········` with `······` (prettier/prettier)
src/guards/RoleChecks.ts#L50
Delete `····` (prettier/prettier)
src/guards/RoleChecks.ts#L51
Delete `······` (prettier/prettier)
src/guards/RoleChecks.ts#L52
Replace `············` with `······` (prettier/prettier)
src/guards/RoleChecks.ts#L53
Delete `········` (prettier/prettier)
src/guards/RoleChecks.ts#L54
Delete `········` (prettier/prettier)
src/guards/RoleChecks.ts#L55
Replace `··················` with `········` (prettier/prettier)
src/guards/RoleChecks.ts#L56
Replace `··················` with `········` (prettier/prettier)
src/guards/RoleChecks.ts#L57
Delete `··········` (prettier/prettier)
src/guards/RoleChecks.ts#L58
Delete `··········` (prettier/prettier)
src/guards/RoleChecks.ts#L59
Delete `··········` (prettier/prettier)
src/guards/RoleChecks.ts#L78
Delete `··` (prettier/prettier)
src/guards/RoleChecks.ts#L79
Delete `··` (prettier/prettier)
src/guards/RoleChecks.ts#L80
Replace `··········` with `······` (prettier/prettier)
src/guards/RoleChecks.ts#L81
Delete `····` (prettier/prettier)
src/guards/RoleChecks.ts#L82
Delete `······` (prettier/prettier)
src/guards/RoleChecks.ts#L83
Replace `············` with `······` (prettier/prettier)
src/guards/RoleChecks.ts#L84
Delete `········` (prettier/prettier)
src/guards/RoleChecks.ts#L85
Delete `········` (prettier/prettier)
src/guards/RoleChecks.ts#L86
Replace `··················` with `········` (prettier/prettier)
src/guards/RoleChecks.ts#L87
Replace `··················` with `········` (prettier/prettier)
src/guards/RoleChecks.ts#L88
Delete `··········` (prettier/prettier)
src/guards/RoleChecks.ts#L89
Delete `··········` (prettier/prettier)
src/guards/RoleChecks.ts#L90
Delete `··········` (prettier/prettier)
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run linters
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/