Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 55dcbe9

Browse files
author
Jon Duckworth
committed
Clean up style-related lint errors
1 parent 60f82a8 commit 55dcbe9

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

lib/hooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var match = function(version) {
5959
* @param {Boolean} [options.verbose] Enable verbose output.
6060
* @return {Promise}
6161
*/
62-
exports.chpwd = function(/*dir, [versionFile], [options]*/) {
62+
exports.chpwd = function(/* dir, [versionFile], [options] */) {
6363
var args = Array.prototype.slice.call(arguments, 0);
6464
var dir = args.shift();
6565
var file = _.isString(args[0]) && args.shift() || '.node-version';

lib/plugins.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
/* eslint-disable import/no-dynamic-require */
2+
13
'use strict';
24

35
var _ = require('lodash');
46
var Promise = require('bluebird');
57
var path = require('path');
68
var fs = require('mz/fs');
9+
// eslint-disable-next-line import/newline-after-import
710
var isNoEntry = require('./util/codes').isNoEntry;
811
var rethrowUnlessFailedRequire;
912

lib/setup.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ module.exports = function() {
1919
])
2020
.then(function(results) {
2121
var errors = _(results)
22-
.filter(_.method('isRejected'))
23-
.map(_.method('reason'))
24-
.map('message').value();
22+
.filter(_.method('isRejected'))
23+
.map(_.method('reason'))
24+
.map('message')
25+
.value();
2526

2627
if (errors.length) {
2728
console.error('%s: %s', chalk.bold.red('error'), errors.join(', '));

0 commit comments

Comments
 (0)