Skip to content

Commit 9e21caa

Browse files
greenkeeper[bot]aivus
authored andcommitted
Update eslint to the latest version 🚀 (#220)
- update eslint to version 4.1.0 - fix eslint rules
1 parent 26ecbbe commit 9e21caa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/filename-generator/by-type.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function getSubDirectoryNames (options) {
4646

4747
function getDirectoryByExtension (extension, options) {
4848
return _(options.subdirectories)
49-
.filter(function matchesExtension (directory) { return _.includes(directory.extensions, extension); })
50-
.map(function getDirectory (directory) { return directory.directory; })
51-
.first() || '';
49+
.filter(function matchesExtension (directory) { return _.includes(directory.extensions, extension); })
50+
.map(function getDirectory (directory) { return directory.directory; })
51+
.first() || '';
5252
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"devDependencies": {
4848
"codeclimate-test-reporter": "^0.4.0",
4949
"coveralls": "^2.11.8",
50-
"eslint": "^3.9.1",
50+
"eslint": "^4.1.0",
5151
"istanbul": "^0.4.0",
5252
"mocha": "^3.0.2",
5353
"nock": "^9.0.2",

0 commit comments

Comments
 (0)