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

Fixed code style to match airbnb eslint #132

Closed
wants to merge 1 commit into from

Conversation

taylorhakes
Copy link
Contributor

#97 This changes style to match airbnb style guide. There were a couple of code changes to make this work. All the tests are passing.

It seems the eslint does not fully support decorators. I had to disable the padding rule in 2 tests.

export composeMiddleware from './utils/composeMiddleware';
export composeStores from './utils/composeStores';
export bindActionCreators from './utils/bindActionCreators';
import composeMiddleware from './utils/composeMiddleware';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

eslint was complaining about the import and export in the same statement. I had to split it up.

Copy link
Contributor

Choose a reason for hiding this comment

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

Keep babel-eslint and everything should be fine.

@DenisIzmaylov
Copy link
Contributor

Hmm. I fixed it here #121 yesterday. Why did you duplicate my PR?

"env": {
"browser": true,
"mocha": true,
"node": true
},
"parser": "babel-eslint",
Copy link
Contributor

Choose a reason for hiding this comment

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

We need parser here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it already defined here ?

@taylorhakes
Copy link
Contributor Author

@DenisIzmaylov I thought you were just submitting an ignore of all rules. You just changed your pull request a couple of hours ago. Since you started working on this, I will close this pull request.

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.

6 participants