Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Finish jshint migration by removing every trace of jslint from codebase

  • Loading branch information...
commit 1e6db69ee272424001a9e309ee1c44c3c878710f 1 parent 09d35d8
@gotwarlost authored
View
3  lib/collector.js
@@ -62,8 +62,7 @@ Collector.prototype = {
* @param {String} testName Optional. The name of the test used to produce the object.
* This is currently not used.
*/
- /*jshint unused: false */
- add: function (coverage, testName) {
+ add: function (coverage /*, testName */) {
var store = this.store;
Object.keys(coverage).forEach(function (key) {
var fileCoverage = coverage[key];
View
1  lib/command/index.js
@@ -3,7 +3,6 @@
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
-/*jslint nomen: true */
var Factory = require('../util/factory'),
factory = new Factory('command', __dirname, true);
View
1  lib/hook.js
@@ -30,7 +30,6 @@
*
* @class Hook
*/
-/*jslint nomen: true */
var fs = require('fs'),
Module = require('module'),
vm = require('vm'),
View
1  lib/instrumenter.js
@@ -48,7 +48,6 @@
.replace(new RegExp('\\+', 'g'), '_')
.replace(new RegExp('/', 'g'), '$');
} else {
- /*jslint nomen: true */
window.__cov_seq = window.__cov_seq || 0;
window.__cov_seq += 1;
suffix = window.__cov_seq;
View
1  lib/report/index.js
@@ -3,7 +3,6 @@
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
-/*jslint nomen: true */
var Factory = require('../util/factory'),
factory = new Factory('report', __dirname, false);
/**
View
1  lib/store/index.js
@@ -3,7 +3,6 @@
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
-/*jslint nomen: true */
var Factory = require('../util/factory'),
factory = new Factory('store', __dirname, false);
/**
View
1  lib/util/meta.js
@@ -2,7 +2,6 @@
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
-/*jslint nomen: true */
var path = require('path'),
fs = require('fs'),
pkg = JSON.parse(fs.readFileSync(path.resolve(__dirname, '..', '..', 'package.json'), 'utf8'));
View
1  lib/util/yui-load-hook.js
@@ -3,7 +3,6 @@
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
-/*jslint nomen:true */
//EXPERIMENTAL code: do not rely on this in anyway until the docs say it is allowed
var yuiRegexp = /yui-nodejs\.js$/;
Please sign in to comment.
Something went wrong with that request. Please try again.