Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

belochub
Copy link
Member

Copy link
Member

@lundibundi lundibundi left a 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(
Copy link
Member

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'.

belochub added a commit that referenced this pull request Oct 29, 2018
@belochub
Copy link
Member Author

Landed in 61e3d94.

@belochub belochub closed this Oct 29, 2018
@belochub belochub deleted the use-eslint-config-metarhia branch October 29, 2018 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants