From f7fef43ce0d7a878ec4984e665f6cd6a67b6f46a Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 5 Sep 2018 18:57:04 +0200 Subject: [PATCH] update devDependencies, fix lint --- package.json | 10 +++++----- test.js | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index f2ab042..4c99a8f 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,12 @@ "ip": "^1.1.5" }, "devDependencies": { - "eslint": "^5.2.0", - "eslint-config-standard": "^11.0.0", - "eslint-plugin-import": "^2.13.0", + "eslint": "^5.5.0", + "eslint-config-standard": "^12.0.0", + "eslint-plugin-import": "^2.14.0", "eslint-plugin-node": "^7.0.1", - "eslint-plugin-promise": "^3.8.0", - "eslint-plugin-standard": "^3.1.0", + "eslint-plugin-promise": "^4.0.0", + "eslint-plugin-standard": "^4.0.0", "tape": "^4.9.1" }, "keywords": [ diff --git a/test.js b/test.js index 719d532..a38146e 100644 --- a/test.js +++ b/test.js @@ -50,7 +50,7 @@ tape('null', function (t) { }) tape('hinfo', function (t) { - testEncoder(t, packet.hinfo, {cpu: 'intel', os: 'best one'}) + testEncoder(t, packet.hinfo, { cpu: 'intel', os: 'best one' }) t.end() }) @@ -70,21 +70,21 @@ tape('dname', function (t) { }) tape('srv', function (t) { - testEncoder(t, packet.srv, {port: 9999, target: 'hello.world.com'}) - testEncoder(t, packet.srv, {port: 9999, target: 'hello.world.com', priority: 42, weight: 10}) + testEncoder(t, packet.srv, { port: 9999, target: 'hello.world.com' }) + testEncoder(t, packet.srv, { port: 9999, target: 'hello.world.com', priority: 42, weight: 10 }) t.end() }) tape('caa', function (t) { - testEncoder(t, packet.caa, {flags: 128, tag: 'issue', value: 'letsencrypt.org', issuerCritical: true}) - testEncoder(t, packet.caa, {tag: 'issue', value: 'letsencrypt.org', issuerCritical: true}) - testEncoder(t, packet.caa, {tag: 'issue', value: 'letsencrypt.org'}) + testEncoder(t, packet.caa, { flags: 128, tag: 'issue', value: 'letsencrypt.org', issuerCritical: true }) + testEncoder(t, packet.caa, { tag: 'issue', value: 'letsencrypt.org', issuerCritical: true }) + testEncoder(t, packet.caa, { tag: 'issue', value: 'letsencrypt.org' }) t.end() }) tape('mx', function (t) { - testEncoder(t, packet.mx, {preference: 10, exchange: 'mx.hello.world.com'}) - testEncoder(t, packet.mx, {exchange: 'mx.hello.world.com'}) + testEncoder(t, packet.mx, { preference: 10, exchange: 'mx.hello.world.com' }) + testEncoder(t, packet.mx, { exchange: 'mx.hello.world.com' }) t.end() })