Permalink
Browse files

Finish jshint migration by removing every trace of jslint from codebase

  • Loading branch information...
1 parent 09d35d8 commit 1e6db69ee272424001a9e309ee1c44c3c878710f @gotwarlost committed Oct 30, 2012
Showing with 1 addition and 9 deletions.
  1. +1 −2 lib/collector.js
  2. +0 −1 lib/command/index.js
  3. +0 −1 lib/hook.js
  4. +0 −1 lib/instrumenter.js
  5. +0 −1 lib/report/index.js
  6. +0 −1 lib/store/index.js
  7. +0 −1 lib/util/meta.js
  8. +0 −1 lib/util/yui-load-hook.js
View
@@ -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
@@ -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
@@ -30,7 +30,6 @@
*
* @class Hook
*/
-/*jslint nomen: true */
var fs = require('fs'),
Module = require('module'),
vm = require('vm'),
View
@@ -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
@@ -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
@@ -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
@@ -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'));
@@ -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$/;

0 comments on commit 1e6db69

Please sign in to comment.