denoland / deno_lint

Blazing fast linter for JavaScript and TypeScript written in Rust
https://lint.deno.land/
MIT License
1.51k stars 163 forks source link

Lint to detect npm dependencies without versions #1227

Open sigmaSd opened 5 months ago

sigmaSd commented 5 months ago

code

import {} from "npm:chalk"

should warn Implicitly using latest version of chalk ..

The deno module is equivalent is implemented as x-deno-warning header provided by dotland , so we can't expect npm to provide something similar, so maybe a lint can work instead