@0x/contracts-staking: Fix linter errors.

This commit is contained in:
Lawrence Forman 2019-09-09 21:24:30 -04:00
parent 51b460d432
commit 89bd42de04
3 changed files with 2 additions and 3 deletions

View File

@ -86,7 +86,6 @@ blockchainTests('Configurable Parameters', env => {
describe('rewardDelegatedStakeWeight', () => { describe('rewardDelegatedStakeWeight', () => {
it('throws when > PPM_100_PERCENT', async () => { it('throws when > PPM_100_PERCENT', async () => {
const params = { const params = {
// tslint:disable-next-line restrict-plus-operands
rewardDelegatedStakeWeight: constants.PPM_100_PERCENT + 1, rewardDelegatedStakeWeight: constants.PPM_100_PERCENT + 1,
}; };
const tx = setParamsAndAssertAsync(params); const tx = setParamsAndAssertAsync(params);

View File

@ -323,7 +323,6 @@ blockchainTests('Staking Pool Management', env => {
const makerAddresses = users.slice( const makerAddresses = users.slice(
1, 1,
// tslint:disable-next-line restrict-plus-operands
stakingConstants.DEFAULT_PARAMS.maximumMakersInPool.toNumber() + 2, stakingConstants.DEFAULT_PARAMS.maximumMakersInPool.toNumber() + 2,
); );
const makers = makerAddresses.map(makerAddress => new MakerActor(makerAddress, stakingApiWrapper)); const makers = makerAddresses.map(makerAddress => new MakerActor(makerAddress, stakingApiWrapper));

View File

@ -1,6 +1,7 @@
{ {
"extends": ["@0x/tslint-config"], "extends": ["@0x/tslint-config"],
"rules": { "rules": {
"custom-no-magic-numbers": false "custom-no-magic-numbers": false,
"restrict-plus-operands": false
} }
} }