Skip to content

Commit 8b2edd9

Browse files
committed
prettier . --write
1 parent 07bc10e commit 8b2edd9

File tree

340 files changed

+1459
-1459
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

340 files changed

+1459
-1459
lines changed

apps/api-documenter/.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ require('@rushstack/eslint-config/patch-eslint6');
33

44
module.exports = {
55
extends: ['@rushstack/eslint-config'],
6-
parserOptions: { tsconfigRootDir: __dirname },
6+
parserOptions: { tsconfigRootDir: __dirname }
77
};

apps/api-documenter/src/cli/ApiDocumenterCommandLine.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class ApiDocumenterCommandLine extends CommandLineParser {
1212
toolFilename: 'api-documenter',
1313
toolDescription:
1414
'Reads *.api.json files produced by api-extractor, ' +
15-
' and generates API documentation in various output formats.',
15+
' and generates API documentation in various output formats.'
1616
});
1717
this._populateActions();
1818
}

apps/api-documenter/src/cli/BaseAction.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
ApiItem,
1313
ApiItemContainerMixin,
1414
ApiDocumentedItem,
15-
IResolveDeclarationReferenceResult,
15+
IResolveDeclarationReferenceResult
1616
} from '@microsoft/api-extractor-model';
1717

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

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

apps/api-documenter/src/cli/GenerateAction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class GenerateAction extends BaseAction {
1919
summary: 'EXPERIMENTAL',
2020
documentation:
2121
'EXPERIMENTAL - This action is a prototype of a new config file driven mode of operation for' +
22-
' API Documenter. It is not ready for general usage yet. Its design may change in the future.',
22+
' API Documenter. It is not ready for general usage yet. Its design may change in the future.'
2323
});
2424
}
2525

apps/api-documenter/src/cli/MarkdownAction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class MarkdownAction extends BaseAction {
1313
summary: 'Generate documentation as Markdown files (*.md)',
1414
documentation:
1515
'Generates API documentation as a collection of files in' +
16-
' Markdown format, suitable for example for publishing on a GitHub site.',
16+
' Markdown format, suitable for example for publishing on a GitHub site.'
1717
});
1818
}
1919

apps/api-documenter/src/cli/YamlAction.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class YamlAction extends BaseAction {
2121
documentation:
2222
'Generates API documentation as a collection of files conforming' +
2323
' to the universal reference YAML format, which is used by the docs.microsoft.com' +
24-
' pipeline.',
24+
' pipeline.'
2525
});
2626
}
2727

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

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

apps/api-documenter/src/documenters/ExperimentalYamlDocumenter.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class ExperimentalYamlDocumenter extends YamlDocumenter {
3939
let tocItem: IYamlTocItem;
4040
if (apiItem.kind === ApiItemKind.Namespace && !this.newDocfxNamespaces) {
4141
tocItem = {
42-
name: this._getTocItemName(apiItem),
42+
name: this._getTocItemName(apiItem)
4343
};
4444
} else {
4545
if (this._shouldEmbed(apiItem.kind)) {
@@ -49,7 +49,7 @@ export class ExperimentalYamlDocumenter extends YamlDocumenter {
4949

5050
tocItem = {
5151
name: this._getTocItemName(apiItem),
52-
uid: this._getUid(apiItem),
52+
uid: this._getUid(apiItem)
5353
};
5454

5555
if (apiItem.kind !== ApiItemKind.Package) {

0 commit comments

Comments
 (0)