string.prototype.replaceall
Version:
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal
25 lines (22 loc) • 384 B
Plain Text
{
"root": true,
"extends": "@ljharb",
"rules": {
"array-bracket-newline": 0,
"eqeqeq": [2, "always", { "null": "ignore" }],
"id-length": 1,
"new-cap": [2, {
"capIsNewExceptions": [
"Call",
"GetIntrinsic",
"GetMethod",
"GetSubstitution",
"IsCallable",
"RequireObjectCoercible",
"StringIndexOf",
"ToString",
"Type",
],
}],
},
}