Skip to content

Conversation

@mihaiberq
Copy link

No description provided.

.eslintrc.yml Outdated
jest/no-focused-test: 0
jest/no-identical-title: 2
jest/valid-expect: 2
node/no-unsupported-features/es-syntax: 0
Copy link
Member

Choose a reason for hiding this comment

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

You can fix this one by adding to package.json:

  "engines": {
    "node": "8.10.0"
  },

Copy link
Author

Choose a reason for hiding this comment

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

I added it but eslint seemed to ignore it, so i left the rule

Copy link
Author

@mihaiberq mihaiberq Nov 15, 2018

Choose a reason for hiding this comment

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

Imo this should be ok, since they the rule is included in the engines field anyway

.eslintrc.yml Outdated
jest/no-identical-title: 2
jest/valid-expect: 2
node/no-unsupported-features/es-syntax: 0
no-unused-vars: 1
Copy link
Member

Choose a reason for hiding this comment

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

Try using on, off, and warn instead of the numbers cause it's more readable

"redux-mock-store": "^1.3.0",
"redux-object-to-promise": "^0.3.3",
"redux-optimist-promise": "^0.8.3"
"redux-optimist-promise": "^0.8.3",
Copy link
Member

Choose a reason for hiding this comment

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

I wonder why this is a dev dep

Copy link
Member

Choose a reason for hiding this comment

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

For tests right?

Copy link
Author

Choose a reason for hiding this comment

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

redux-optimist-promise also provides us with another meta key that can be used to revert optimistic updates in case of a server request failure.

Copy link
Member

@nem035 nem035 Nov 15, 2018

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

gotcha

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