deno icon indicating copy to clipboard operation
deno copied to clipboard

Lint - Enable `no-sloppy-imports` even when `--unstable-sloppy-imports` is not specified

Open dsherret opened this issue 9 months ago • 1 comments

See https://github.com/denoland/deno/issues/28133#issuecomment-2798763180

Also, the help text should reference the lint rule documentation instead of the unstable docs:

error[no-sloppy-imports]: Sloppy imports are not allowed.
  --> ...
   | 
24 | ...

  docs: https://docs.deno.com/runtime/manual/tools/unstable_flags/#--unstable-sloppy-imports

Something to think about: what if people want to allow .js extensions for .ts files for better compatibility with other tooling?

dsherret avatar Apr 12 '25 15:04 dsherret

Is there anything unstable about this lint rule anymore?

mintydev789 avatar May 17 '25 13:05 mintydev789