Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Conversation

@bahmutov
Copy link
Contributor

seems to respect our eslint rules!

index.js Outdated
// it gets the latest bundle
const bundlePromise = bundles[filePath] = bundle()
.finally(() => {
const bundlePromise = (bundles[filePath] = bundle().finally(() => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd rather see this without the bizarre parentheses. I guess that means it needs to be 2 lines:

const bundlePromise = bundle.finally(() => {
// ...
bundles[filePath] = bundlePromise

@bahmutov bahmutov dismissed chrisbreiding’s stale review November 22, 2017 15:31

updated code to avoid parens

@chrisbreiding chrisbreiding merged commit 86f0a33 into master Nov 22, 2017
@chrisbreiding chrisbreiding deleted the prettier-eslint branch August 1, 2018 14:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants