We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b7d80 commit 1e1011eCopy full SHA for 1e1011e
benchmarks/ignore.js
@@ -30,6 +30,6 @@ suite
30
})
31
.run({ async: true })
32
33
-internals.reviver = function (key, value) {
+internals.reviver = function (_key, value) {
34
return value
35
}
test/index.test.js
@@ -45,7 +45,7 @@ test('parse', t => {
45
46
47
t.test('parses object string (reviver)', t => {
48
- const reviver = (key, value) => {
+ const reviver = (_key, value) => {
49
return typeof value === 'number' ? value + 1 : value
50
51
@@ -58,7 +58,7 @@ test('parse', t => {
58
59
t.test('protoAction', t => {
60
t.test('sanitizes object string (reviver, options)', t => {
61
62
63
64
@@ -158,7 +158,7 @@ test('parse', t => {
158
159
t.test('constructorAction', t => {
160
161
162
163
164
0 commit comments