Skip to content

Improve tooling#6

Open
mihaiberq wants to merge 6 commits into
masterfrom
improve-tooling
Open

Improve tooling#6
mihaiberq wants to merge 6 commits into
masterfrom
improve-tooling

Conversation

@mihaiberq

Copy link
Copy Markdown

No description provided.

Comment thread .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
Copy Markdown
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
Copy Markdown
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

@mihaiberq mihaiberq Nov 15, 2018

Copy link
Copy Markdown
Author

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

Comment thread .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
Copy Markdown
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

Comment thread package.json
"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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@nem035 nem035 Nov 15, 2018

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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.

2 participants