From bbf7bd949bf3b116acba396d6b39459233f87c99 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 9 Feb 2021 13:46:25 -0800 Subject: [PATCH] eslint: Enable lines-around-directive. Signed-off-by: Anders Kaseorg --- .eslintrc.json | 1 + tools/check-openapi | 1 + 2 files changed, 2 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index fac84cbe90..22aea338ab 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -38,6 +38,7 @@ } ], "import/unambiguous": "error", + "lines-around-directive": "error", "new-cap": "error", "no-alert": "error", "no-array-constructor": "error", diff --git a/tools/check-openapi b/tools/check-openapi index 1259fa9530..ad4a2c0d99 100755 --- a/tools/check-openapi +++ b/tools/check-openapi @@ -1,4 +1,5 @@ #!/usr/bin/env node + "use strict"; const fs = require("fs");