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

chore(deps-dev): bump eslint-config-standard from 12.0.0 to 13.0.1 #1472

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Aug 5, 2019

Bumps eslint-config-standard from 12.0.0 to 13.0.1.

Commits
  • f7c0fe1 13.0.1
  • 075f6ab Relax rule: Only error in destructuring if all variables should be const (pre...
  • e3e5dca 13.0.0
  • c82aa03 Remove require-atomic-updates due to false positive risk
  • 62e9337 13.0.0-1
  • 532d389 Disallow spaces inside of computed properties
  • 1bd2f52 remove redundant standard-plugin rules
  • af760f1 bump eslint deps
  • 7b4aaab 13.0.0-0
  • 2558e02 Disallow assignments that can lead to race conditions due to usage of await o...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @louh.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 5, 2019
@louh
Copy link
Member

louh commented Aug 5, 2019

Upgrading to the newest version of eslint-config-standard will introduce some new rules. Full changelog can be found here, but the following will affect our code:

The failing test on Travis CI will show exactly where our code will need to be updated. With the exception of the no-prototype-builtins rule, the majority of these can be automatically fixed. However, this could introduce conflicts with existing pull requests and branches. @whitmanschorn Please let me know if you think we should proceed or hold off on this.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/eslint-config-standard-13.0.1 branch from 8800c4d to e74e222 Compare August 5, 2019 23:40
@whitmanschorn
Copy link
Collaborator

@louh These rules all look good to me, and the inconvenience is worth it 👍let me know if I should go ahead and throw the requisite lint fixes into this branch.

@louh
Copy link
Member

louh commented Aug 6, 2019

@whitmanschorn Yes if you can go ahead and make the lint fixes here that would be great! It would be good to have the green check mark on Travis before we merge.

@whitmanschorn whitmanschorn force-pushed the dependabot/npm_and_yarn/eslint-config-standard-13.0.1 branch from e74e222 to 6c56460 Compare August 8, 2019 13:56
@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@codecov-io
Copy link

codecov-io commented Aug 8, 2019

Codecov Report

Merging #1472 into master will not change coverage.
The diff coverage is 36.84%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1472   +/-   ##
======================================
  Coverage    34.6%   34.6%           
======================================
  Files         248     248           
  Lines        9182    9182           
  Branches     1986    1986           
======================================
  Hits         3177    3177           
  Misses       5401    5401           
  Partials      604     604
Impacted Files Coverage Δ
assets/scripts/users/Avatar.jsx 84.21% <ø> (ø) ⬆️
assets/scripts/segments/default.js 100% <ø> (ø) ⬆️
assets/scripts/dialogs/About/Credits.jsx 92.3% <ø> (ø) ⬆️
assets/scripts/util/api.js 100% <ø> (ø) ⬆️
assets/scripts/segments/info.js 100% <ø> (ø) ⬆️
app/models/street.js 0% <ø> (ø) ⬆️
app/resources/v1/users_streets_pg.js 0% <ø> (ø) ⬆️
assets/scripts/gallery/fetch_data.js 0% <ø> (ø) ⬆️
assets/scripts/streets/image.js 10.29% <ø> (ø) ⬆️
assets/scripts/app/flag_utils.js 41.07% <ø> (ø) ⬆️
... and 45 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc1a149...a9fad70. Read the comment docs.

package.json Outdated Show resolved Hide resolved
@@ -24,15 +24,15 @@ async function readFlags (res) {
function sendSuccessResponse (res, flags) {
res.set({
'Content-Type': 'application/json; charset=utf-8',
'Location': config.restapi.baseuri + '/v1/flags',
Location: config.restapi.baseuri + '/v1/flags',
Copy link
Member

Choose a reason for hiding this comment

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

I didn't realize we'd be as affected as we are by inconsistent quotation marks. I know there's some discussion here.

We could override standard's rule with eslint's consistent-as-needed rule, but the tradeoffs here are the addition of one more rule override and the need to re-quote entire objects if just one property is introduced that requires quotes.

@whitmanschorn do you have an opinion?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think I'm fine with this way, since it means putting quotes around a key is a good indicator that the key name has a non-standard character. Happy to do it either way, though.

Copy link
Member

Choose a reason for hiding this comment

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

OK, we'll take the path of least resistance here.

@whitmanschorn whitmanschorn force-pushed the dependabot/npm_and_yarn/eslint-config-standard-13.0.1 branch from 3ffb88d to a9fad70 Compare August 13, 2019 13:42
@dependabot-preview dependabot-preview bot merged commit d3a4540 into master Aug 13, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/eslint-config-standard-13.0.1 branch August 13, 2019 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants