-
Notifications
You must be signed in to change notification settings - Fork 319
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
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.
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": { |
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.
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", |
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.
If we don't use it anymore, it needs to be removed
src/core.js
Outdated
} | ||
}); | ||
} | ||
export { |
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.
Why, if we use export default?
Thanks for your suggestions @evgenyrodionov , should be ok now ;) |
Awesome, thanks! |
I will make another pull request for tests