Skip to content

bug in jslint version 2012-02-03 #173

@arehman849

Description

@arehman849

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions