Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Update Standard@9.0.0 #7817

Merged
merged 2 commits into from
Apr 3, 2017
Merged

Update Standard@9.0.0 #7817

merged 2 commits into from
Apr 3, 2017

Conversation

cezaraugusto
Copy link
Contributor

Auditors: @bsclifton

Fix #7492
Follow-up of #7495 and #7785

Will also help with standard version inconsistency between repo/travis (#7794)

This PR addressed the following new rules:

no-mixed-operators (follow-up with 1 occurency)
no-unused-expressions
prefer-promise-reject-errors
valid-typeof
no-useless-escape

Test plan:

  1. Run npm run lint
  2. Should have no linting errors

@diracdeltas
Copy link
Member

Note that this doesn't fully address #7794 because Travis is using latest Standard (9.0.2?) instead of 9.0.0. I believe we still need #7795 to fix that.

@cezaraugusto
Copy link
Contributor Author

how Travis handle deps updates? I think we can update this to match current Travis version

@diracdeltas
Copy link
Member

@cezaraugusto i think there is a bug in how travis invalidates caches; others report similar issues at travis-ci/travis-ci#3758. i'm not sure if shrinkwrapping helps but it might.

@diracdeltas
Copy link
Member

anyway i reverted caching on master for now

bsclifton referenced this pull request in darkdh/browser-laptop Mar 28, 2017
fix brave#7916

Auditors: @bbondy, @bsclifton

Test Plan:
- Make sure automated tests are passing
  - `npm run test -- --grep=adBlockUtil`
- Make sure you don't see ads on YouTube.
- Make sure `http://downloadme.org/` will be reported as malicious site
cezaraugusto and others added 2 commits April 3, 2017 08:50
Auditors: @bsclifton

Fix #7813
Follow-up of: #7495 and #7785

Test Plan: `npm run lint` should throw no errors
Fix broken unit test

Auditors: @cezaraugusto
Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

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

Rebased + added a fix for one more issue found. Also, I fixed a broken unit test. Looks good 😄

@bsclifton bsclifton merged commit 67a0eaa into brave:master Apr 3, 2017
@cezaraugusto cezaraugusto deleted the update/standard9 branch July 25, 2017 07:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants