Migrate from tslint to eslint (will tighten rules in further commits)

This commit is contained in:
Casper Warden
2021-09-23 17:14:23 +01:00
parent 2c4833baf7
commit bc6ee025cf
121 changed files with 3185 additions and 2863 deletions

View File

@@ -81,7 +81,6 @@ export class ParticleSystem
{
let totalBits = intBits + fracBits;
let min;
let max;
if (signed)
{
@@ -93,7 +92,8 @@ export class ParticleSystem
{
min = 0;
}
max = 1 << intBits;
const max = 1 << intBits;
let fixedVal = Utils.Clamp(data, min, max);
if (signed)