Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Oct 27, 2021
1 parent a980327 commit fe3a656
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ module.exports = {
env: {
browser: true,
commonjs: true,
es6: true
es6: true,
jest: true
},
extends: ['standard', 'prettier'],
globals: {
Expand All @@ -17,8 +18,5 @@ module.exports = {
camelcase: [1, { properties: 'never' }],
'prettier/prettier': 'error'
},
plugins: ['prettier'],
env: {
jest: true
}
plugins: ['prettier']
};
8 changes: 4 additions & 4 deletions src/drivers/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ class Github {
report,
headSha,
title = CHECK_TITLE,
started_at = new Date(),
completed_at = new Date(),
started_at: startedAt = new Date(),
completed_at: completedAt = new Date(),
conclusion = 'success',
status = 'completed'
} = opts;
Expand All @@ -168,8 +168,8 @@ class Github {
return await octokit(this.token, this.repo).checks.create({
...ownerRepo({ uri: this.repo }),
head_sha: headSha,
started_at,
completed_at,
started_at: startedAt,
completed_at: completedAt,
conclusion,
status,
name,
Expand Down

0 comments on commit fe3a656

Please sign in to comment.