73rhodes / Sublime-JSLint

JSLint for Sublime Text 2 and 3.
80 stars 14 forks source link

predef and indent seem to no longer work #51

Open Fasani opened 8 years ago

Fasani commented 8 years ago

I see a few people commenting here on similar topics, did something change with the way we should structure the settings file?

73rhodes commented 8 years ago

Shouldn't have, but jslint options have changed some.

73rhodes commented 8 years ago

refer to https://github.com/douglascrockford/JSLint/commit/f819cf3c65d07086cf217c549c577fa77dc65fc9#commitcomment-14603692

leemet commented 8 years ago

Hi,

Would just like to confirm that the predef flag definitely isn't working - getting errors of undeclared $ throughout file although setting it in options does nothing - using your example from previous commits.

If I set $ in jslint.js in the standard var, or the browser one for example, no more errors.

nicolehu15 commented 7 years ago

I've gone through older issues and it looks like indentation can never be set to 2 instead of 4. Will we getting this changed in later versions?