开发者

jslint options doesn't seem to work on aptana 3

开发者 https://www.devze.com 2023-03-23 23:31 出处:网络
I\'m having trouble with jslint, for example when I set the option \'white: true\' on aptana, I get even more errors about indentation! but on jslint.com I don\'t get those messages, the 开发者_运维技

I'm having trouble with jslint, for example when I set the option 'white: true' on aptana, I get even more errors about indentation! but on jslint.com I don't get those messages, the 开发者_运维技巧option there works.

Just wondering, is this a known bug, or maybe I'm doing something wrong?

I have in the beginning of the file: /jslint browser: true, vars: true, white: true/

...and 200+ warning messages :p


/jslint browser: true, vars: true, white: true/

should be

/*jslint browser: true, vars: true, white: true */

BTW, if you go to jslint.org and set the options you want, it produces the exact string you'll need.

0

精彩评论

暂无评论...
验证码 换一张
取 消