Skip to content

Commit b55e448

Browse files
committed
fix: add 'use strict' to .eslintrc.js
cacache wants that rule to replace a test and this file fails linting hehe
1 parent 53cb445 commit b55e448

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.eslintrc.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* This file is automatically added by @npmcli/template-oss. Do not edit. */
22

3+
'use strict'
4+
35
const { readdirSync: readdir } = require('fs')
46

57
const localConfigs = readdir(__dirname)

lib/content/eslintrc.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
const { readdirSync: readdir } = require('fs')
24

35
const localConfigs = readdir(__dirname)

0 commit comments

Comments
 (0)