Commit Graph

7 Commits

Author SHA1 Message Date
Snarling 36312c660d CODE: Enable es2023 features (#870) 2023-10-23 04:49:12 -04:00
Olivier Gagnon 71d8e35bb5 more anys 2022-07-19 23:26:21 -04:00
Olivier Gagnon 48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
BB 5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
BB 2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
TheMas3212 3da3a61e20 manMax, oneOf, subsetOf validators 2022-01-10 07:37:46 +11:00
TheMas3212 d9064b608f PoC for save validation on load via hooking the Reviver function and
static property validationData on classes

PoC/example implemented with HacknetNode:
  validates cores is a number in the range between 1 and HacknetNodeConstants.MaxCores
  validates level is a number in range between 1 and HacknetNodeConstants.MaxLevel
  validates ram is a number in range between 1 and HacknetNodeConstants.MaxRam
  validates onlineTimeSeconds in non negative number
  validates totalMoneyGenerated is a non negative number
2022-01-10 07:37:46 +11:00