Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.

Commit d95b4d0

Browse files
author
Alan Shaw
authored
chore: run lint on CI (#71)
1 parent 3826029 commit d95b4d0

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.circleci/config.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,7 @@ jobs:
3434
key: v1-dependencies-{{ checksum "package.json" }}
3535

3636
# run tests!
37-
- run: npm test
37+
- run:
38+
command: |
39+
npm run lint
40+
npm test

src/cmd/client/payments.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ module.exports = (fetch, config) => {
1212
const paymentsData = await res.json()
1313

1414
return (paymentsData || []).map(d => {
15-
const { valid_at, ...rest } = d
16-
if (valid_at != null) {
17-
rest.validAt = valid_at
15+
const { valid_at: validAt, ...rest } = d
16+
if (validAt != null) {
17+
rest.validAt = validAt
1818
}
1919
return rest
2020
})

0 commit comments

Comments
 (0)