-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into optimize-comparing-intersections
- Loading branch information
Showing
50,179 changed files
with
2,283,535 additions
and
1,720,170 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,7 @@ | ||
{ | ||
"reporter": ["lcovonly", "cobertura"], | ||
"src": "src", | ||
"include": ["src/**", "built/local/**"], | ||
"exclude": ["**/node_modules/**"], | ||
"mergeAsync": true | ||
} |
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,7 +1,7 @@ | ||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/javascript-node/.devcontainer/base.Dockerfile | ||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.245.2/containers/javascript-node/.devcontainer/base.Dockerfile | ||
|
||
# [Choice] Node.js version: 14, 12, 10 | ||
ARG VARIANT="14-buster" | ||
# [Choice] Node.js version: 18, 16, 14 | ||
ARG VARIANT="18-buster" | ||
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} | ||
|
||
RUN sudo -u node npm install -g gulp-cli | ||
RUN sudo -u node npm install -g hereby |
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 was deleted.
Oops, something went wrong.
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,58 @@ | ||
{ | ||
"indentWidth": 4, | ||
"lineWidth": 1000, | ||
"newLineKind": "auto", | ||
"useTabs": false, | ||
"typescript": { | ||
"newLineKind": "crlf", | ||
"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.*" | ||
], | ||
// Note: if adding new languages, make sure settings.template.json is updated too. | ||
"plugins": [ | ||
"https://plugins.dprint.dev/typescript-0.87.1.wasm", | ||
"https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe", | ||
"https://plugins.dprint.dev/json-0.17.4.wasm" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
const fs = require("fs"); | ||
const path = require("path"); | ||
|
||
const rulesDir = path.join(__dirname, "scripts", "eslint", "rules"); | ||
const ext = ".cjs"; | ||
const ruleFiles = fs.readdirSync(rulesDir).filter(p => p.endsWith(ext)); | ||
|
||
module.exports = { | ||
rules: Object.fromEntries(ruleFiles.map(p => { | ||
return [p.slice(0, -ext.length), require(path.join(rulesDir, p))]; | ||
})), | ||
}; |
Oops, something went wrong.