vmware-archive / scripted

The Scripted code editor
Eclipse Public License 1.0
1.56k stars 166 forks source link

Don't yell about 'define' not being defined for AMD modules #270

Open scothis opened 11 years ago

scothis commented 11 years ago

In the absence of a JSHint config, it will yell about 'define' not being defined. Scripted is smart enough to detect AMD modules resolution, it should also be smart enough to not yell about the define function.

The current behavior gives new uses a poor first impression as scripted is suppose to understand modules.

We may also want to consider a quick way for users to create an .jshintrc for their project when one isn't detected.