Skip to content

Commit

Permalink
Merge pull request #97 from Hypercubed/eslint-plugin-node
Browse files Browse the repository at this point in the history
eslint-plugin-node
  • Loading branch information
Hypercubed committed Oct 18, 2016
2 parents 2845fc3 + 38b1c7f commit c4e8cb1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"modules": true
}
},
"plugins": ["node"],
"extends": ["eslint:recommended", "plugin:node/recommended"],
"rules": {
"indent": [
2,
Expand Down
2 changes: 0 additions & 2 deletions lib/analyzers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

var fs = require( 'fs' );
var path = require( 'path' );
var globby = require( 'globby' );

Expand All @@ -12,7 +11,6 @@ var globby = require( 'globby' );
* @return {Array} list of reporter methods
*/
function getAnalyzers( config ) {
var analyzers;
var methods = {};
var basePath = config.filePaths.analyzers;

Expand Down
1 change: 0 additions & 1 deletion lib/analyzers/bower/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

var fs = require( 'fs' );
var path = require( 'path' );
var globby = require( 'globby' );

Expand Down
3 changes: 0 additions & 3 deletions lib/analyzers/jspm/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
'use strict';

var fs = require( 'fs' );
var path = require( 'path' );
var globby = require( 'globby' );

var creditUtil = require( '../../credit' );
var packageUtil = require( '../../package' );
var getNpmCredits = require( '../npm' ).getNpmCredits;
var getBowerCredits = require( '../bower' ).getBowerCredits;

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"index.js",
"lib"
],
"engines": {
"node": ">=4"
},
"scripts": {
"add": "all-contributors add",
"lint": "eslint lib/*.js lib/**/*.js",
Expand All @@ -30,6 +33,7 @@
"ava": "^0.16.0",
"coveralls": "^2.11.4",
"eslint": "^3.7.1",
"eslint-plugin-node": "^2.1.3",
"fs-extra": "^0.30.0",
"nyc": "^8.3.1",
"tmp": "0.0.29"
Expand Down

0 comments on commit c4e8cb1

Please sign in to comment.