New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.9.1-rc1] Inline "-W020" doesn't work if there is "+W020" later #2761

Closed
nicolo-ribaudo opened this Issue Nov 13, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@nicolo-ribaudo
Copy link
Contributor

nicolo-ribaudo commented Nov 13, 2015

/* global foo: false */

// jshint -W020
foo = 2;
// jshint +W020
$ bin/jshint demo.js --verbose
demo.js: line 4, col 1, Read only. (W020)

1 error

The same is for W021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment