Add eslint (#741)

This commit is contained in:
Calvin Montgomery 2018-04-07 15:30:30 -07:00 committed by GitHub
parent 953428cad5
commit 62417f7fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 305 additions and 323 deletions

View file

@ -3,5 +3,5 @@ export function callOnce(fn) {
return (...args) => {
called || fn(...args), called = true;
}
};
}

View file

@ -2,6 +2,8 @@ const SEED = 0x1234;
const M = 0xc6a4a793;
const R = 16;
/* eslint no-fallthrough: off */
export function murmurHash1(str) {
const buffer = new Buffer(str, 'utf8');
var length = buffer.length;