Open ruffin-- opened 8 years ago
how can I use the old version :(, unhappy now!!!!
ok,I know how to use the old version ,now
@rangercyh I'm facing the same issues. Please describe how to roll JSLint back to previous version?
OK. just made git clone of this project, reverted it to previous version and replaced content of the package in Sublime. Stable commit: 8c99cc3e1420a9e411961c75ec28fa03164d9f8a.
Very unexpected stuff in very inconvenient time. It's not only about indentation. All of my JS files started producing so many errors. And no information in documentation how to configure JS Lint right.
@liberborn did it right.
Reverting to previous commit worked for me. Thanks @liberborn
yes,I do the same ,it's a pity
git clone https://github.com/73rhodes/Sublime-JSLint.git && cd S ublime-JSLint && git reset --hard 8c99cc3e1420a9e411961c75ec28fa03164d9f8a && git clean -f
Then Sublime Text > Preferences > Browse Packages > JSLint remove all files and copy and paste new files
A few important tips, I guess, if you want to do this without bothering with git
ting... NOTE: I also think, if you haven't set auto_upgrade_ignore
, you might end up having your pulled version overwritten later as well. That would stink. ;^)
auto_upgrade_ignore
option for the Sublime Text package manager.auto_upgrade_ignore
in Preferences > Package Settings > Package Control > Settings – User [1].C:\Users\YourUserNameHere\AppData\Roaming\Sublime Text 2\Packages
)C:\Users\YourUserNameHere\AppData\Roaming\Sublime Text 2\Backup
)JSLint
folder in it that's closest to the date of the change.[1] Edit: I think I screwed this up initially. As this faux-bug explanation says:
My guess is that you placed it in the wrong settings file. It should be in Preferences > Package Settings > Package Control > Settings – User and NOT Preferences > Settings – User.
Hey. Sorry for that. You can use any version of jslint though - it's configurable so you can use the version that ships with the ST package or another version somewhere else on your system. As for user preferences getting hosed, that totally sucks and I'm not sure if it's an ST thing or some crap with this package. Can you provide any other details?
The update silently wiped out my settings file too. Not great.
I think it's worth putting in an option to use the old JSLint, not that it's difficult to replace the file locally, if you know where it's found. The new ES6 friendly JSLint (which I assume recently came out of beta?) gets much more opinionated than what's up at old.jslint.com -- no
this
, more draconian about loops, etc. I'm not sure that should be passively updated for plugin users. I realize the options have largely changed too, but you should keep the old ones if users have set them.Boy, unexpected fun this afternoon.