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

Added airbnb eslint config #218

Merged
merged 3 commits into from
Apr 6, 2017
Merged

Added airbnb eslint config #218

merged 3 commits into from
Apr 6, 2017

Conversation

dinodsaurus
Copy link
Contributor

I will make another pull request for tests

@codecov-io
Copy link

codecov-io commented Apr 5, 2017

Codecov Report

Merging #218 into master will increase coverage by 0.23%.
The diff coverage is 64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
+ Coverage   68.14%   68.38%   +0.23%     
==========================================
  Files           5        5              
  Lines         135      136       +1     
==========================================
+ Hits           92       93       +1     
  Misses         43       43
Impacted Files Coverage Δ
src/diff.js 8% <0%> (ø) ⬆️
src/helpers.js 100% <100%> (ø) ⬆️
src/core.js 78.68% <73.07%> (+0.35%) ⬆️
src/defaults.js 75% <80%> (ø) ⬆️
src/index.js 86.84% <85.71%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ec10bb...75080f3. Read the comment docs.

Copy link
Collaborator

@imevro imevro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's awesome, thank you very much.

Please, fix that remarks and I'll merge.

.eslintrc Outdated
@@ -1,3 +1,11 @@
{
"extends": "@dtrussia/eslint-config-dtrussia"
"extends": "airbnb",
"globals": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use env setting instead of list of global functions

http://eslint.org/docs/user-guide/configuring#specifying-environments

package.json Outdated
@@ -55,7 +55,6 @@
"@dtrussia/eslint-config-dtrussia": "2.2.1",
Copy link
Collaborator

@imevro imevro Apr 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't use it anymore, it needs to be removed

src/core.js Outdated
}
});
}
export {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why, if we use export default?

@dinodsaurus
Copy link
Contributor Author

Thanks for your suggestions @evgenyrodionov , should be ok now ;)

@imevro imevro merged commit 507e1c7 into LogRocket:master Apr 6, 2017
@imevro
Copy link
Collaborator

imevro commented Apr 6, 2017

Awesome, thanks!

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.

3 participants