mirror of
https://github.com/danog/fast-srp.git
synced 2024-11-26 20:04:49 +01:00
Updated linting rules to latest name changes
This commit is contained in:
parent
3f99795371
commit
26c36dacba
@ -27,6 +27,6 @@
|
|||||||
"brace-style": ["error"],
|
"brace-style": ["error"],
|
||||||
|
|
||||||
"@typescript-eslint/no-non-null-assertion": "off",
|
"@typescript-eslint/no-non-null-assertion": "off",
|
||||||
"@typescript-eslint/camelcase": "off"
|
"@typescript-eslint/naming-convention": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -100,7 +100,6 @@ export class SRP {
|
|||||||
assertIsBuffer(salt, "salt (salt)");
|
assertIsBuffer(salt, "salt (salt)");
|
||||||
assertIsBuffer(I, "identity (I)");
|
assertIsBuffer(I, "identity (I)");
|
||||||
assertIsBuffer(P, "password (P)");
|
assertIsBuffer(P, "password (P)");
|
||||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
|
||||||
const v_num = params.g.modPow(getx(params, salt, I, P), params.N);
|
const v_num = params.g.modPow(getx(params, salt, I, P), params.N);
|
||||||
return v_num.toBuffer(params.N_length_bits / 8);
|
return v_num.toBuffer(params.N_length_bits / 8);
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* eslint-disable @typescript-eslint/ban-ts-ignore */
|
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import vows from "vows";
|
import vows from "vows";
|
||||||
import assert from "assert";
|
import assert from "assert";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* eslint-disable @typescript-eslint/ban-ts-ignore */
|
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import vows from "vows";
|
import vows from "vows";
|
||||||
import assert from "assert";
|
import assert from "assert";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* eslint-disable @typescript-eslint/ban-ts-ignore */
|
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import vows from "vows";
|
import vows from "vows";
|
||||||
import assert from "assert";
|
import assert from "assert";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import vows from "vows";
|
import vows from "vows";
|
||||||
import assert from "assert";
|
import assert from "assert";
|
||||||
|
Loading…
Reference in New Issue
Block a user