Skip to content

Commit

Permalink
v2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Feb 28, 2015
1 parent ee436b1 commit d82cf19
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions dist/jshint-rhino.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env rhino
var window = {};
/*! 2.6.1 */
/*! 2.6.2 */
var JSHINT;
if (typeof window === 'undefined') window = {};
(function () {
Expand Down Expand Up @@ -5064,6 +5064,14 @@ exports.bool = {
*/
eqeqeq : true,

/**
* This option enables warnings about the use of identifiers which are
* defined in future versions of JavaScript. Although overwriting them has
* no effect in contexts where they are not implemented, this practice can
* cause issues when migrating codebases to newer versions of the language.
*/
futurehostile: true,

/**
* This option suppresses warnings about invalid `typeof` operator values.
* This operator has only [a limited set of possible return
Expand Down Expand Up @@ -5355,14 +5363,6 @@ exports.bool = {
*/
evil : true,

/**
* This option supresses warnings about the use of identifiers which are
* defined in future versions of JavaScript. Although overwriting them has
* no effect in contexts where they are not implemented, this practice can
* cause issues when migrating codebases to newer versions of the language.
*/
futurehostile: true,

/**
* This option prohibits the use of unary increment and decrement
* operators. Some people think that `++` and `--` reduces the quality of
Expand Down Expand Up @@ -10344,7 +10344,7 @@ var JSHINT = (function() {
if (funct["(global)"]) {
if (predefined[t.id] === false) {
warning("W079", t.token, t.id);
} else if (!state.option.futurehostile) {
} else if (state.option.futurehostile === false) {
if ((!state.option.inES5() && vars.ecmaIdentifiers[5][t.id] === false) ||
(!state.option.inESNext() && vars.ecmaIdentifiers[6][t.id] === false)) {
warning("W129", t.token, t.id);
Expand Down
20 changes: 10 additions & 10 deletions dist/jshint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! 2.6.1 */
/*! 2.6.2 */
var JSHINT;
if (typeof window === 'undefined') window = {};
(function () {
Expand Down Expand Up @@ -5062,6 +5062,14 @@ exports.bool = {
*/
eqeqeq : true,

/**
* This option enables warnings about the use of identifiers which are
* defined in future versions of JavaScript. Although overwriting them has
* no effect in contexts where they are not implemented, this practice can
* cause issues when migrating codebases to newer versions of the language.
*/
futurehostile: true,

/**
* This option suppresses warnings about invalid `typeof` operator values.
* This operator has only [a limited set of possible return
Expand Down Expand Up @@ -5353,14 +5361,6 @@ exports.bool = {
*/
evil : true,

/**
* This option supresses warnings about the use of identifiers which are
* defined in future versions of JavaScript. Although overwriting them has
* no effect in contexts where they are not implemented, this practice can
* cause issues when migrating codebases to newer versions of the language.
*/
futurehostile: true,

/**
* This option prohibits the use of unary increment and decrement
* operators. Some people think that `++` and `--` reduces the quality of
Expand Down Expand Up @@ -10342,7 +10342,7 @@ var JSHINT = (function() {
if (funct["(global)"]) {
if (predefined[t.id] === false) {
warning("W079", t.token, t.id);
} else if (!state.option.futurehostile) {
} else if (state.option.futurehostile === false) {
if ((!state.option.inES5() && vars.ecmaIdentifiers[5][t.id] === false) ||
(!state.option.inESNext() && vars.ecmaIdentifiers[6][t.id] === false)) {
warning("W129", t.token, t.id);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jshint",
"version": "2.6.1",
"version": "2.6.2",
"homepage": "http://jshint.com/",
"description": "Static analysis tool for JavaScript",

Expand Down

0 comments on commit d82cf19

Please sign in to comment.