Skip to content

Commit

Permalink
Build(deps-dev): bump prettier from 2.1.2 to 2.2.1 (#5905)
Browse files Browse the repository at this point in the history
* Build(deps-dev): bump prettier from 2.1.2 to 2.2.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/prettier@2.1.2...2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* run new prettier

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: chris48s <chris.shaw480@gmail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 12, 2020
1 parent 8a4bc63 commit 1361500
Show file tree
Hide file tree
Showing 34 changed files with 98 additions and 38 deletions.
4 changes: 1 addition & 3 deletions frontend/components/customizer/customizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export default function Customizer({
}): JSX.Element {
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/35572
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28884#issuecomment-471341041
const indicatorRef = useRef<
CopiedContentIndicatorHandle
>() as React.MutableRefObject<CopiedContentIndicatorHandle>
const indicatorRef = useRef<CopiedContentIndicatorHandle>() as React.MutableRefObject<CopiedContentIndicatorHandle>
const [path, setPath] = useState('')
const [queryString, setQueryString] = useState<string>()
const [pathIsComplete, setPathIsComplete] = useState<boolean>()
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
"nyc": "^15.1.0",
"opn-cli": "^5.0.0",
"portfinder": "^1.0.28",
"prettier": "2.1.2",
"prettier": "2.2.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-error-overlay": "^6.0.8",
Expand Down
4 changes: 3 additions & 1 deletion services/ansible/ansible-quality.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class AnsibleGalaxyContent extends BaseJsonService {
}
}

module.exports = class AnsibleGalaxyContentQualityScore extends AnsibleGalaxyContent {
module.exports = class AnsibleGalaxyContentQualityScore extends (
AnsibleGalaxyContent
) {
static category = 'analysis'
static route = { base: 'ansible/quality', pattern: ':projectId' }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const favoritesResponseSchema = Joi.object({
}),
}).required()

module.exports = class EclipseMarketplaceFavorites extends EclipseMarketplaceBase {
module.exports = class EclipseMarketplaceFavorites extends (
EclipseMarketplaceBase
) {
static category = 'other'
static route = this.buildRoute('eclipse-marketplace/favorites')
static examples = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const licenseResponseSchema = Joi.object({
}),
}).required()

module.exports = class EclipseMarketplaceLicense extends EclipseMarketplaceBase {
module.exports = class EclipseMarketplaceLicense extends (
EclipseMarketplaceBase
) {
static category = 'license'
static route = this.buildRoute('eclipse-marketplace/l')
static examples = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const versionResponseSchema = Joi.object({
}),
}).required()

module.exports = class EclipseMarketplaceVersion extends EclipseMarketplaceBase {
module.exports = class EclipseMarketplaceVersion extends (
EclipseMarketplaceBase
) {
static category = 'version'
static route = this.buildRoute('eclipse-marketplace/v')
static examples = [
Expand Down
4 changes: 3 additions & 1 deletion services/github/github-all-contributors.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const schema = Joi.object({
contributors: Joi.array().required(),
}).required()

module.exports = class GithubAllContributorsService extends ConditionalGithubAuthV3Service {
module.exports = class GithubAllContributorsService extends (
ConditionalGithubAuthV3Service
) {
static category = 'activity'
static route = {
base: 'github/all-contributors',
Expand Down
4 changes: 3 additions & 1 deletion services/github/github-directory-file-count.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ const queryParamSchema = Joi.object({
extension: Joi.string(),
})

module.exports = class GithubDirectoryFileCount extends ConditionalGithubAuthV3Service {
module.exports = class GithubDirectoryFileCount extends (
ConditionalGithubAuthV3Service
) {
static category = 'size'

static route = {
Expand Down
4 changes: 3 additions & 1 deletion services/github/github-go-mod.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const goVersionRegExp = /^go (.+)$/m

const keywords = ['golang']

module.exports = class GithubGoModGoVersion extends ConditionalGithubAuthV3Service {
module.exports = class GithubGoModGoVersion extends (
ConditionalGithubAuthV3Service
) {
static category = 'version'
static route = {
base: 'github/go-mod/go-version',
Expand Down
4 changes: 3 additions & 1 deletion services/github/github-hacktoberfest.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ const queryParamSchema = Joi.object({
suggestion_label: Joi.string(),
}).required()

module.exports = class GithubHacktoberfestCombinedStatus extends GithubAuthV4Service {
module.exports = class GithubHacktoberfestCombinedStatus extends (
GithubAuthV4Service
) {
static category = 'issue-tracking'
static route = {
base: 'github/hacktoberfest',
Expand Down
4 changes: 3 additions & 1 deletion services/github/github-r-package.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const queryParamSchema = Joi.object({

const versionRegExp = /^Version:[\s]*(.+)$/m

module.exports = class GithubRPackageVersion extends ConditionalGithubAuthV3Service {
module.exports = class GithubRPackageVersion extends (
ConditionalGithubAuthV3Service
) {
static category = 'version'

static route = {
Expand Down
4 changes: 3 additions & 1 deletion services/puppetforge/puppetforge-module-downloads.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { downloadCount } = require('../color-formatters')
const { metric } = require('../text-formatters')
const { BasePuppetForgeModulesService } = require('./puppetforge-base')

module.exports = class PuppetforgeModuleDownloads extends BasePuppetForgeModulesService {
module.exports = class PuppetforgeModuleDownloads extends (
BasePuppetForgeModulesService
) {
static category = 'downloads'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
const { NotFound } = require('..')
const { BasePuppetForgeModulesService } = require('./puppetforge-base')

module.exports = class PuppetforgeModuleEndorsement extends BasePuppetForgeModulesService {
module.exports = class PuppetforgeModuleEndorsement extends (
BasePuppetForgeModulesService
) {
static category = 'rating'

static route = {
Expand Down
4 changes: 3 additions & 1 deletion services/puppetforge/puppetforge-module-feedback.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const {
const { NotFound } = require('..')
const { BasePuppetForgeModulesService } = require('./puppetforge-base')

module.exports = class PuppetforgeModuleFeedback extends BasePuppetForgeModulesService {
module.exports = class PuppetforgeModuleFeedback extends (
BasePuppetForgeModulesService
) {
static category = 'rating'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { renderVersionBadge } = require('../version')
const { NotFound } = require('..')
const { BasePuppetForgeModulesService } = require('./puppetforge-base')

module.exports = class PuppetforgeModulePdkVersion extends BasePuppetForgeModulesService {
module.exports = class PuppetforgeModulePdkVersion extends (
BasePuppetForgeModulesService
) {
static category = 'platform-support'

static route = {
Expand Down
4 changes: 3 additions & 1 deletion services/puppetforge/puppetforge-module-version.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
const { renderVersionBadge } = require('../version')
const { BasePuppetForgeModulesService } = require('./puppetforge-base')

module.exports = class PuppetforgeModuleVersion extends BasePuppetForgeModulesService {
module.exports = class PuppetforgeModuleVersion extends (
BasePuppetForgeModulesService
) {
static category = 'version'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { metric } = require('../text-formatters')
const { floorCount: floorCountColor } = require('../color-formatters')
const { BasePuppetForgeUsersService } = require('./puppetforge-base')

module.exports = class PuppetForgeModuleCountService extends BasePuppetForgeUsersService {
module.exports = class PuppetForgeModuleCountService extends (
BasePuppetForgeUsersService
) {
static category = 'other'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { metric } = require('../text-formatters')
const { floorCount: floorCountColor } = require('../color-formatters')
const { BasePuppetForgeUsersService } = require('./puppetforge-base')

module.exports = class PuppetForgeReleaseCountService extends BasePuppetForgeUsersService {
module.exports = class PuppetForgeReleaseCountService extends (
BasePuppetForgeUsersService
) {
static category = 'other'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { metric } = require('../text-formatters')
const { floorCount: floorCountColor } = require('../color-formatters')
const { BaseVaadinDirectoryService } = require('./vaadin-directory-base')

module.exports = class VaadinDirectoryRatingCount extends BaseVaadinDirectoryService {
module.exports = class VaadinDirectoryRatingCount extends (
BaseVaadinDirectoryService
) {
static category = 'rating'

static route = {
Expand Down
4 changes: 3 additions & 1 deletion services/vaadin-directory/vaadin-directory-rating.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { starRating } = require('../text-formatters')
const { floorCount: floorCountColor } = require('../color-formatters')
const { BaseVaadinDirectoryService } = require('./vaadin-directory-base')

module.exports = class VaadinDirectoryRating extends BaseVaadinDirectoryService {
module.exports = class VaadinDirectoryRating extends (
BaseVaadinDirectoryService
) {
static category = 'rating'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { formatDate } = require('../text-formatters')
const { age: ageColor } = require('../color-formatters')
const { BaseVaadinDirectoryService } = require('./vaadin-directory-base')

module.exports = class VaadinDirectoryReleaseDate extends BaseVaadinDirectoryService {
module.exports = class VaadinDirectoryReleaseDate extends (
BaseVaadinDirectoryService
) {
static category = 'activity'

static route = {
Expand Down
4 changes: 3 additions & 1 deletion services/vaadin-directory/vaadin-directory-status.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

const { BaseVaadinDirectoryService } = require('./vaadin-directory-base')

module.exports = class VaadinDirectoryStatus extends BaseVaadinDirectoryService {
module.exports = class VaadinDirectoryStatus extends (
BaseVaadinDirectoryService
) {
static category = 'other'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
const { renderVersionBadge } = require('../version')
const { BaseVaadinDirectoryService } = require('./vaadin-directory-base')

module.exports = class VaadinDirectoryVersion extends BaseVaadinDirectoryService {
module.exports = class VaadinDirectoryVersion extends (
BaseVaadinDirectoryService
) {
static category = 'version'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const schema = Joi.array().items({
result: isBuildStatus.required(),
})

module.exports = class VisualStudioAppCenterBuilds extends BaseVisualStudioAppCenterService {
module.exports = class VisualStudioAppCenterBuilds extends (
BaseVisualStudioAppCenterService
) {
static category = 'build'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const schema = Joi.object({
min_os: Joi.string().required(),
}).required()

module.exports = class VisualStudioAppCenterReleasesOSVersion extends BaseVisualStudioAppCenterService {
module.exports = class VisualStudioAppCenterReleasesOSVersion extends (
BaseVisualStudioAppCenterService
) {
static category = 'version'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const schema = Joi.object({
size: nonNegativeInteger,
}).required()

module.exports = class VisualStudioAppCenterReleasesSize extends BaseVisualStudioAppCenterService {
module.exports = class VisualStudioAppCenterReleasesSize extends (
BaseVisualStudioAppCenterService
) {
static category = 'size'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const schema = Joi.object({
short_version: Joi.string().required(),
}).required()

module.exports = class VisualStudioAppCenterReleasesVersion extends BaseVisualStudioAppCenterService {
module.exports = class VisualStudioAppCenterReleasesVersion extends (
BaseVisualStudioAppCenterService
) {
static category = 'version'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const documentation = `
// This service exists separately from the other Marketplace downloads badges (in ./visual-studio-marketplace-downloads.js)
// due differences in how the Marketplace tracks metrics for Azure DevOps extensions vs. other extension types.
// See https://github.com/badges/shields/pull/2748 for more information on the discussion and decision.
module.exports = class VisualStudioMarketplaceAzureDevOpsInstalls extends VisualStudioMarketplaceBase {
module.exports = class VisualStudioMarketplaceAzureDevOpsInstalls extends (
VisualStudioMarketplaceBase
) {
static category = 'downloads'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const documentation = `
</p>
`

module.exports = class VisualStudioMarketplaceDownloads extends VisualStudioMarketplaceBase {
module.exports = class VisualStudioMarketplaceDownloads extends (
VisualStudioMarketplaceBase
) {
static category = 'downloads'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { age } = require('../color-formatters')
const { formatDate } = require('../text-formatters')
const VisualStudioMarketplaceBase = require('./visual-studio-marketplace-base')

module.exports = class VisualStudioMarketplaceLastUpdated extends VisualStudioMarketplaceBase {
module.exports = class VisualStudioMarketplaceLastUpdated extends (
VisualStudioMarketplaceBase
) {
static category = 'activity'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { starRating } = require('../text-formatters')
const { floorCount } = require('../color-formatters')
const VisualStudioMarketplaceBase = require('./visual-studio-marketplace-base')

module.exports = class VisualStudioMarketplaceRating extends VisualStudioMarketplaceBase {
module.exports = class VisualStudioMarketplaceRating extends (
VisualStudioMarketplaceBase
) {
static category = 'rating'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { age } = require('../color-formatters')
const { formatDate } = require('../text-formatters')
const VisualStudioMarketplaceBase = require('./visual-studio-marketplace-base')

module.exports = class VisualStudioMarketplaceReleaseDate extends VisualStudioMarketplaceBase {
module.exports = class VisualStudioMarketplaceReleaseDate extends (
VisualStudioMarketplaceBase
) {
static category = 'activity'

static route = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
const { renderVersionBadge } = require('../version')
const VisualStudioMarketplaceBase = require('./visual-studio-marketplace-base')

module.exports = class VisualStudioMarketplaceVersion extends VisualStudioMarketplaceBase {
module.exports = class VisualStudioMarketplaceVersion extends (
VisualStudioMarketplaceBase
) {
static category = 'version'

static route = {
Expand Down

0 comments on commit 1361500

Please sign in to comment.