Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 2eb03e8

Browse files
committed
Add no-shadow ESLint rule
1 parent 26be6aa commit 2eb03e8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = {
1313
'no-inline-comments': 0,
1414
'no-magic-numbers': 0,
1515
'no-param-reassign': 0,
16-
'no-shadow': 0,
1716
'fp/no-class': 0,
1817
'fp/no-delete': 0,
1918
'fp/no-let': 0,

src/deploy/hash-files.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ test('hashes files in a folder', async (t) => {
1010
filter: defaultFilter,
1111
})
1212
t.truthy(files['netlify.toml'], 'includes the netlify.toml file')
13-
Object.keys(files).forEach((path) => {
14-
t.truthy(path, 'each file has a path')
13+
Object.keys(files).forEach((filePath) => {
14+
t.truthy(filePath, 'each file has a path')
1515
})
1616
t.truthy(filesShaMap, 'filesShaMap is returned')
1717
Object.values(filesShaMap).forEach((fileObjArray) => {

0 commit comments

Comments
 (0)