1
0
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:
Supereg 2021-01-10 18:07:29 +01:00
parent 3f99795371
commit 26c36dacba
No known key found for this signature in database
GPG Key ID: 2F08948C5653D720
6 changed files with 5 additions and 6 deletions

View File

@ -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"
} }
} }

View File

@ -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);
} }

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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";