Skip to content

Format and lint manually with deno#17

Closed
tcely wants to merge 22 commits intokikkia:masterfrom
tcely:tcely-fmt
Closed

Format and lint manually with deno#17
tcely wants to merge 22 commits intokikkia:masterfrom
tcely:tcely-fmt

Conversation

@tcely
Copy link
Copy Markdown
Contributor

@tcely tcely commented Nov 28, 2025

Lint results:

error[no-prototype-builtins]: Access to Object.prototype.hasOwnProperty is not allowed from target object
  --> /tmp/github/yt-cipher/src/validation.ts:28:14
   |
28 |         if (!obj.hasOwnProperty(key) || !schema[key](obj[key])) {
   |              ^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                

  docs: https://docs.deno.com/lint/rules/no-prototype-builtins


error[require-await]: Async arrow function has no 'await' expression or 'await using' declaration.
  --> /tmp/github/yt-cipher/src/validation.ts:36:12
   |
36 |     return async (ctx: RequestContext) => {
   |            ^^^^^
   = hint: Remove 'async' keyword from the function or use 'await' expression or 'await using' declaration inside.

  docs: https://docs.deno.com/lint/rules/require-await

@tcely tcely changed the title Format and line manually with deno Format and lint manually with deno Nov 28, 2025
@tcely tcely marked this pull request as ready for review November 28, 2025 23:55
@tcely
Copy link
Copy Markdown
Contributor Author

tcely commented Nov 29, 2025

Incorporated into #18

@tcely tcely closed this Nov 29, 2025
@tcely tcely deleted the tcely-fmt branch November 29, 2025 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant