This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { markdownTable } from "npm:markdown-table"; | |
import v6 from "npm:@typescript-eslint/eslint-plugin@6.0.0"; | |
import v5 from "npm:@typescript-eslint/eslint-plugin@5.62.0"; | |
const v5Rules_recommended = Object.keys(v5.configs["recommended"].rules); | |
const v5Rules_recommendedRequiringTypeChecking = Object.keys( | |
v5.configs["recommended-requiring-type-checking"].rules | |
); | |
const v5Rules_strict = Object.keys(v5.configs["strict"].rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getDecimalPointRound = (value, decimalPointPlace) => { | |
const digit = Math.pow(10, decimalPointPlace); | |
return Math.round(value * digit) / digit; | |
} | |
const getNonZeroRandom = () => { | |
let r = 0; | |
while (r === 0) { | |
r = Math.random(); | |
} |