-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffec968
commit 5e8c261
Showing
560 changed files
with
28,486 additions
and
23,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"indentWidth": 4, | ||
"lineWidth": 1000, | ||
"newLineKind": "auto", | ||
"useTabs": false, | ||
"typescript": { | ||
"semiColons": "always", | ||
"quoteStyle": "preferDouble", | ||
"quoteProps": "consistent", | ||
"useBraces": "whenNotSingleLine", | ||
"bracePosition": "sameLineUnlessHanging", | ||
"singleBodyPosition": "sameLine", | ||
"nextControlFlowPosition": "nextLine", // Stroustrup style braces. | ||
"trailingCommas": "onlyMultiLine", | ||
"preferHanging": false, | ||
"operatorPosition": "maintain", | ||
|
||
"arrowFunction.useParentheses": "preferNone", | ||
"conditionalExpression.linePerExpression": false, // Keep our "match/case"-ish conditionals. | ||
"functionExpression.spaceAfterFunctionKeyword": true, | ||
"importDeclaration.forceMultiLine": true, | ||
"constructorType.spaceAfterNewKeyword": true, | ||
"constructSignature.spaceAfterNewKeyword": true, | ||
|
||
// Let eslint-plugin-simple-import-sort handle this. | ||
"module.sortImportDeclarations": "maintain", | ||
"module.sortExportDeclarations": "maintain", | ||
"exportDeclaration.sortNamedExports": "maintain", | ||
"importDeclaration.sortNamedImports": "maintain" | ||
}, | ||
"prettier": { | ||
"associations": [ | ||
"**/*.{yaml,yml}" | ||
], | ||
"yml.tabWidth": 2, | ||
"yaml.tabWidth": 2, | ||
"yml.singleQuote": true, | ||
"yaml.singleQuote": true | ||
}, | ||
"excludes": [ | ||
"**/node_modules", | ||
"**/*-lock.json", | ||
"coverage/**", | ||
"lib/**", | ||
"built/**", | ||
"tests/**", | ||
"internal/**", | ||
"**/*.generated.*", | ||
"scripts/*.d.*" | ||
], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/typescript-0.86.1.wasm", | ||
"https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
--- | ||
--- | ||
blank_issues_enabled: false | ||
contact_links: | ||
- | ||
about: "Please ask and answer usage questions on Stack Overflow." | ||
contact_links: | ||
- about: 'Please ask and answer usage questions on Stack Overflow.' | ||
name: Question | ||
url: "https://stackoverflow.com/questions/tagged/typescript" | ||
- | ||
about: "Alternatively, you can use the TypeScript Community Discord." | ||
url: 'https://stackoverflow.com/questions/tagged/typescript' | ||
- about: 'Alternatively, you can use the TypeScript Community Discord.' | ||
name: Chat | ||
url: "https://discord.gg/typescript" | ||
- | ||
about: "Please check the FAQ before filing new issues" | ||
name: "TypeScript FAQ" | ||
url: "https://github.com/microsoft/TypeScript/wiki/FAQ" | ||
- | ||
about: "Please raise issues about the site on its own repo." | ||
url: 'https://discord.gg/typescript' | ||
- about: 'Please check the FAQ before filing new issues' | ||
name: 'TypeScript FAQ' | ||
url: 'https://github.com/microsoft/TypeScript/wiki/FAQ' | ||
- about: 'Please raise issues about the site on its own repo.' | ||
name: Website | ||
url: "https://github.com/microsoft/TypeScript-Website/issues/new" | ||
url: 'https://github.com/microsoft/TypeScript-Website/issues/new' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.