deno_lint icon indicating copy to clipboard operation
deno_lint copied to clipboard

Blazing fast linter for JavaScript and TypeScript written in Rust

Results 132 deno_lint issues
Sort by recently updated
recently updated
newest added

`eval` is introduced as a primordial here: https://github.com/denoland/deno/pull/15110. And I've seen it used in other places, such as [an FFI PR](https://github.com/denoland/deno/pull/15313).

This may sound like an odd request, but it would be nice to be able to disable remote module imports in script files. If using either an [import map](https://deno.land/manual/linking_to_external_code/import_maps) or...

Deno already has support for [integrity checking](https://deno.land/manual/linking_to_external_code/integrity_checking) via lock files. It would be nice to be able to enforce that these are always used for remote imports that might have...

Hello, as https://github.com/denoland/deno/issues/14976 has shown, it can be hard to realize TypeScript's default behavior of exporting all types in a `declare namespace` block. It might be beneficial to add an...

### Lint name no-unused-vars ### Code Snippet ```ts const foo = 42; ``` ### Expected Result > `foo` is never used `no-unused-vars` rule is triggered regardless of the file type...

bug

This PR contains the lint rule asked for in issue #975. It will not allow you to use boolean literals (`true` and `false`) when you make a function call. It...

Hi, I run [Miri](https://github.com/rust-lang/miri) on a lot of published crates to look for UB. It looks to me like there is a bug related to this code: https://github.com/denoland/deno_lint/blob/dfe78729850680b68e1659c64ea69bdee447e38c/src/js_regex/reader.rs#L125-L129 To reproduce,...

bug

Would it be possible to somehow warn a user when a Promise is not properly handled? Deno will always crash on uncaught errors. I guarantee there will be many users...

request
design limitation

Might be neat to have a rule that requires alt text in markdown images.

suggestion