Skip to content

Commit

Permalink
Merge pull request #7960 from Snuffleupagus/eslint_space-unary-ops
Browse files Browse the repository at this point in the history
Adjust the `space-unary-ops` ESLint rule to comply with mozilla-central lint rules
  • Loading branch information
timvandermeij authored Jan 16, 2017
2 parents c0a47fd + 0dff8f3 commit c1703e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@
"space-before-function-paren": ["error", { "anonymous": "ignore", "named": "never", }],
"space-in-parens": ["error", "never"],
"space-infix-ops": ["error", { "int32Hint": false }],
"space-unary-ops": ["error", { "words": true, "nonwords": false, "overrides": { "void": false, }, }],
"space-unary-ops": ["error", { "words": true, "nonwords": false, }],
},
}
2 changes: 1 addition & 1 deletion extensions/firefox/content/PdfStreamConverter.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ PdfDataListener.prototype = {
if (this.length >= 0 && this.length < this.loaded) {
this.length = -1; // reset the length, server is giving incorrect one
}
this.onprogress(this.loaded, this.length >= 0 ? this.length : void(0));
this.onprogress(this.loaded, this.length >= 0 ? this.length : void 0);
},
readData: function PdfDataListener_readData() {
var result = this.buffer;
Expand Down

0 comments on commit c1703e9

Please sign in to comment.