Skip to content

Commit 40caaeb

Browse files
committed
Remove now unnecessary eslint rules
1 parent 862e4e3 commit 40caaeb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,25 +183,21 @@ class ByteUnitObject {
183183
}
184184

185185
add(bytes) {
186-
// eslint-disable-next-line no-underscore-dangle
187186
this.checkInternalByteVal(bytes);
188187
return new ByteUnitObject(this.bytes + parseByteOrByteArray(bytes).reduce((a, v) => a + v, 0));
189188
}
190189

191190
subtract(bytes) {
192-
// eslint-disable-next-line no-underscore-dangle
193191
this.checkInternalByteVal(bytes);
194192
return new ByteUnitObject(this.bytes - parseByteOrByteArray(bytes).reduce((a, v) => a + v, 0));
195193
}
196194

197195
multiply(bytes) {
198-
// eslint-disable-next-line no-underscore-dangle
199196
this.checkInternalByteVal(bytes);
200197
return new ByteUnitObject(this.bytes * parseByteOrByteArray(bytes).reduce((a, v) => a * v, 1));
201198
}
202199

203200
divide(bytes) {
204-
// eslint-disable-next-line no-underscore-dangle
205201
this.checkInternalByteVal(bytes);
206202
return new ByteUnitObject(this.bytes / parseByteOrByteArray(bytes).reduce((a, v) => a * v, 1));
207203
}

0 commit comments

Comments
 (0)