safe-bigint
Version:
Safely create a BigInt from a numerical string, even one larger than MAX_SAFE_INTEGER.
21 lines (18 loc) • 312 B
Plain Text
{
"root": true,
"extends": "@ljharb",
"rules": {
"multiline-comment-style": "off",
"new-cap": ["error", {
"capIsNewExceptions": [
"GetIntrinsic"
],
}],
"no-implicit-coercion": ["error", {
"boolean": false,
"number": false,
"string": true,
}],
"no-magic-numbers": "off",
},
}