chore: enforce prettier configuration

In order to avoid reformatting of the code this PR add a prettier configuration as well as scripts to automatically format apply the rules
This commit is contained in:
Luc Patiny 2025-11-17 06:10:08 +01:00
parent f6fea65063
commit 3f899c8445
19 changed files with 3477 additions and 3474 deletions

View file

@ -1,11 +1,9 @@
class RandomUtils {
static getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min + 1)) + min;
}
static getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min + 1)) + min;
}
}
export default RandomUtils;