Tell me more about the magic

Just setup a new repo on the Javascript analyzer, and noticed there’s a lot of choices to make around module systems, etc. It seems like the selections it made matched my repo, but I wasn’t sure if that’s luck or if DeepSource checks a sample of classes to see what conventions I’m using. If the former, it’d be great to have a notice about it (“Hey, we checked for you an this seems to be the most appropriate”), if not it’d be great to have that added and remove the burden of choice from the user.

We do not detect the module system automatically, but use commonjs when no value is supplied.

if not it’d be great to have that added and remove the burden of choice from the user.

We have created a ticket internally to track this, and will let you know when we build this.