Skip to content

Commit

Permalink
prettier . --write
Browse files Browse the repository at this point in the history
  • Loading branch information
octogonz committed Jun 9, 2020
1 parent 07bc10e commit 8b2edd9
Show file tree
Hide file tree
Showing 340 changed files with 1,459 additions and 1,459 deletions.
2 changes: 1 addition & 1 deletion apps/api-documenter/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ require('@rushstack/eslint-config/patch-eslint6');

module.exports = {
extends: ['@rushstack/eslint-config'],
parserOptions: { tsconfigRootDir: __dirname },
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion apps/api-documenter/src/cli/ApiDocumenterCommandLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ApiDocumenterCommandLine extends CommandLineParser {
toolFilename: 'api-documenter',
toolDescription:
'Reads *.api.json files produced by api-extractor, ' +
' and generates API documentation in various output formats.',
' and generates API documentation in various output formats.'
});
this._populateActions();
}
Expand Down
6 changes: 3 additions & 3 deletions apps/api-documenter/src/cli/BaseAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
ApiItem,
ApiItemContainerMixin,
ApiDocumentedItem,
IResolveDeclarationReferenceResult,
IResolveDeclarationReferenceResult
} from '@microsoft/api-extractor-model';

export abstract class BaseAction extends CommandLineAction {
Expand All @@ -30,7 +30,7 @@ export abstract class BaseAction extends CommandLineAction {
argumentName: 'FOLDER1',
description:
`Specifies the input folder containing the *.api.json files to be processed.` +
` If omitted, the default is "./input"`,
` If omitted, the default is "./input"`
});

this._outputFolderParameter = this.defineStringParameter({
Expand All @@ -40,7 +40,7 @@ export abstract class BaseAction extends CommandLineAction {
description:
`Specifies the output folder where the documentation will be written.` +
` ANY EXISTING CONTENTS WILL BE DELETED!` +
` If omitted, the default is "./${this.actionName}"`,
` If omitted, the default is "./${this.actionName}"`
});
}

Expand Down
2 changes: 1 addition & 1 deletion apps/api-documenter/src/cli/GenerateAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class GenerateAction extends BaseAction {
summary: 'EXPERIMENTAL',
documentation:
'EXPERIMENTAL - This action is a prototype of a new config file driven mode of operation for' +
' API Documenter. It is not ready for general usage yet. Its design may change in the future.',
' API Documenter. It is not ready for general usage yet. Its design may change in the future.'
});
}

Expand Down
2 changes: 1 addition & 1 deletion apps/api-documenter/src/cli/MarkdownAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class MarkdownAction extends BaseAction {
summary: 'Generate documentation as Markdown files (*.md)',
documentation:
'Generates API documentation as a collection of files in' +
' Markdown format, suitable for example for publishing on a GitHub site.',
' Markdown format, suitable for example for publishing on a GitHub site.'
});
}

Expand Down
6 changes: 3 additions & 3 deletions apps/api-documenter/src/cli/YamlAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class YamlAction extends BaseAction {
documentation:
'Generates API documentation as a collection of files conforming' +
' to the universal reference YAML format, which is used by the docs.microsoft.com' +
' pipeline.',
' pipeline.'
});
}

Expand All @@ -31,15 +31,15 @@ export class YamlAction extends BaseAction {

this._officeParameter = this.defineFlagParameter({
parameterLongName: '--office',
description: `Enables some additional features specific to Office Add-ins`,
description: `Enables some additional features specific to Office Add-ins`
});
this._newDocfxNamespacesParameter = this.defineFlagParameter({
parameterLongName: '--new-docfx-namespaces',
description:
`This enables an experimental feature that will be officially released with the next major version` +
` of API Documenter. It requires DocFX 2.46 or newer. It enables documentation for namespaces and` +
` adds them to the table of contents. This will also affect file layout as namespaced items will be nested` +
` under a directory for the namespace instead of just within the package.`,
` under a directory for the namespace instead of just within the package.`
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class ExperimentalYamlDocumenter extends YamlDocumenter {
let tocItem: IYamlTocItem;
if (apiItem.kind === ApiItemKind.Namespace && !this.newDocfxNamespaces) {
tocItem = {
name: this._getTocItemName(apiItem),
name: this._getTocItemName(apiItem)
};
} else {
if (this._shouldEmbed(apiItem.kind)) {
Expand All @@ -49,7 +49,7 @@ export class ExperimentalYamlDocumenter extends YamlDocumenter {

tocItem = {
name: this._getTocItemName(apiItem),
uid: this._getUid(apiItem),
uid: this._getUid(apiItem)
};

if (apiItem.kind !== ApiItemKind.Package) {
Expand Down
Loading

0 comments on commit 8b2edd9

Please sign in to comment.