-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use eslint-config-metarhia and fix linting issues #102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bin/cli.js
Outdated
}; | ||
|
||
const merge = (arr1 = [], arr2 = []) => common.merge(arr1, arr2); | ||
|
||
const exclude = (files, filterArr) => | ||
filterArr.map(path => path.replace('.', '\\.') | ||
const exclude = (files, filterArr) => filterArr.map( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this wait for your newest addition to eslint-config-metarhia
and then be changed to be on a new line. I think it's confusing to have it this way, I find it hard to distinguish map-function vs next chained calls and both of them have a lot of chaining but the main map
is on 'the-other-line'.
303c23e
to
d23a6f5
Compare
Landed in 61e3d94. |
Refs: metarhia/Metarhia#22