@0x/contracts-staking
: Fix linter errors.
This commit is contained in:
parent
51b460d432
commit
89bd42de04
@ -86,7 +86,6 @@ blockchainTests('Configurable Parameters', env => {
|
||||
describe('rewardDelegatedStakeWeight', () => {
|
||||
it('throws when > PPM_100_PERCENT', async () => {
|
||||
const params = {
|
||||
// tslint:disable-next-line restrict-plus-operands
|
||||
rewardDelegatedStakeWeight: constants.PPM_100_PERCENT + 1,
|
||||
};
|
||||
const tx = setParamsAndAssertAsync(params);
|
||||
|
@ -323,7 +323,6 @@ blockchainTests('Staking Pool Management', env => {
|
||||
|
||||
const makerAddresses = users.slice(
|
||||
1,
|
||||
// tslint:disable-next-line restrict-plus-operands
|
||||
stakingConstants.DEFAULT_PARAMS.maximumMakersInPool.toNumber() + 2,
|
||||
);
|
||||
const makers = makerAddresses.map(makerAddress => new MakerActor(makerAddress, stakingApiWrapper));
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": ["@0x/tslint-config"],
|
||||
"rules": {
|
||||
"custom-no-magic-numbers": false
|
||||
"custom-no-magic-numbers": false,
|
||||
"restrict-plus-operands": false
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user