reid / node-jslint

The JavaScript Code Quality Tool — for Node.js.
http://jslint.com/
Other
491 stars 101 forks source link

bug in jslint version 2012-02-03 #173

Open arehman849 opened 5 years ago

arehman849 commented 5 years ago

https://github.com/douglascrockford/JSLint/issues/247

evalmachine.:2574 s.string = s; ^

TypeError: Cannot create property 'string' on string '(begin)' image

i assume the highlighted expression must be "x.string = s" i am using "jslint-2012-02-03.js" file

the reason behind picking the older version of jslint file is due to the project compatibility this project of mine is quite a old and when it was started i integrated it with the same version of file, using the newer version is failing my builds in jenkins and reports enormous errors related to whitespaces, mixed spaces and indentation. can u kindly suggest any alternative solutions for this

updating to newer version of jslint is not an option. i have about 7 branches of code with 30k+ files in each using older version of jslint. @smikes could you please help me fixing this issue.