Skip to content

Commit 69e7ed5

Browse files
committed
fix lint issues
1 parent 7c1258c commit 69e7ed5

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"plugin:github/typescript"
88
],
99
"rules": {
10-
"github/no-then": "off"
10+
"github/no-then": "off",
11+
"import/extensions": ["error", "always"],
12+
"import/no-unresolved": ["off"]
1113
},
1214
"overrides": [
1315
{

test/test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ suite('include-fragment-element', function () {
243243
} catch (e) {
244244
assert.ok(e)
245245
} finally {
246-
let data
246+
let data2
247247
try {
248-
data = await el.data
248+
data2 = await el.data
249249
} catch {
250-
data = null
250+
data2 = null
251251
}
252-
assert.ok(data !== 42)
252+
assert.ok(data2 !== 42)
253253
}
254254
})
255255

@@ -267,13 +267,13 @@ suite('include-fragment-element', function () {
267267
} catch (e) {
268268
assert.ok(e)
269269
} finally {
270-
let data
270+
let data2
271271
try {
272-
data = await el.data
272+
data2 = await el.data
273273
} catch {
274-
data = null
274+
data2 = null
275275
}
276-
assert.ok(data !== undefined)
276+
assert.ok(data2 !== undefined)
277277
}
278278
})
279279

0 commit comments

Comments
 (0)