From 64c8e797baa2b6a59d3db887a98defbee50c3cee Mon Sep 17 00:00:00 2001 From: Dimitri DO BAIRRO Date: Wed, 2 Oct 2019 11:22:41 +0200 Subject: [PATCH] feat(global) force strict mode to be eslint compliant --- index.js | 2 ++ lib/agent.js | 1 + lib/test.js | 2 ++ test/supertest.js | 2 ++ 4 files changed, 7 insertions(+) diff --git a/index.js b/index.js index 8716e86d..8fd46dbc 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ +'use strict'; + /** * Module dependencies. */ diff --git a/lib/agent.js b/lib/agent.js index 16c9560a..21ee6211 100644 --- a/lib/agent.js +++ b/lib/agent.js @@ -1,3 +1,4 @@ +'use strict'; /** * Module dependencies. diff --git a/lib/test.js b/lib/test.js index f87a3273..b9505eb8 100644 --- a/lib/test.js +++ b/lib/test.js @@ -1,3 +1,5 @@ +'use strict'; + /** * Module dependencies. */ diff --git a/test/supertest.js b/test/supertest.js index dfa90a7c..4c8c1aae 100644 --- a/test/supertest.js +++ b/test/supertest.js @@ -1,3 +1,5 @@ +'use strict'; + const request = require('..'); const https = require('https'); const fs = require('fs');