conform to standard js quote rules (#8395)
* restore standardjs quote behaviour * conform to standard js quote rules
This commit is contained in:
@@ -40,7 +40,7 @@ class GithubAuthV4Service extends BaseGraphqlService {
|
||||
}
|
||||
|
||||
async _requestGraphql(attrs) {
|
||||
const url = `/graphql`
|
||||
const url = '/graphql'
|
||||
|
||||
/*
|
||||
The Github v4 API requires us to query the rateLimit object to return
|
||||
|
||||
@@ -160,7 +160,7 @@ export default class GithubHacktoberfestCombinedStatus extends GithubAuthV4Servi
|
||||
`repo:${user}/${repo}`,
|
||||
'is:pr',
|
||||
`created:${year}-10-01..${year}-10-31`,
|
||||
`-label:invalid`,
|
||||
'-label:invalid',
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join(' ')
|
||||
|
||||
@@ -35,7 +35,7 @@ export default class GithubLabels extends GithubAuthV3Service {
|
||||
return this._requestJson({
|
||||
url: `/repos/${user}/${repo}/labels/${name}`,
|
||||
schema,
|
||||
errorMessages: errorMessagesFor(`repo or label not found`),
|
||||
errorMessages: errorMessagesFor('repo or label not found'),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ export default class GithubMilestoneDetail extends GithubAuthV3Service {
|
||||
return this._requestJson({
|
||||
url: `/repos/${user}/${repo}/milestones/${number}`,
|
||||
schema,
|
||||
errorMessages: errorMessagesFor(`repo or milestone not found`),
|
||||
errorMessages: errorMessagesFor('repo or milestone not found'),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ export default class GithubMilestone extends GithubAuthV3Service {
|
||||
return this._requestJson({
|
||||
url: `/repos/${user}/${repo}/milestones?state=${variant}`,
|
||||
schema,
|
||||
errorMessages: errorMessagesFor(`repo not found`),
|
||||
errorMessages: errorMessagesFor('repo not found'),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ const query = gql`
|
||||
|
||||
const affiliationsAllowedValues = [
|
||||
'OWNER',
|
||||
`COLLABORATOR`,
|
||||
'COLLABORATOR',
|
||||
'ORGANIZATION_MEMBER',
|
||||
]
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user