From b55e4486387bcc0be670791407438ec328c867ab Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 28 Apr 2022 07:06:38 -0700 Subject: [PATCH] fix: add 'use strict' to .eslintrc.js cacache wants that rule to replace a test and this file fails linting hehe --- .eslintrc.js | 2 ++ lib/content/eslintrc.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 0e8ad007..5db9f815 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,7 @@ /* This file is automatically added by @npmcli/template-oss. Do not edit. */ +'use strict' + const { readdirSync: readdir } = require('fs') const localConfigs = readdir(__dirname) diff --git a/lib/content/eslintrc.js b/lib/content/eslintrc.js index 1718f033..ae9b6ef7 100644 --- a/lib/content/eslintrc.js +++ b/lib/content/eslintrc.js @@ -1,3 +1,5 @@ +'use strict' + const { readdirSync: readdir } = require('fs') const localConfigs = readdir(__dirname)