Skip to content

Commit ba3e829

Browse files
committed
Merge remote-tracking branch 'origin/main' into andarist/filter-instantiation-expressions-by-matching-constraints
2 parents 9e02f09 + 2a37eb2 commit ba3e829

File tree

47,863 files changed

+1634381
-1329469
lines changed

Some content is hidden

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

47,863 files changed

+1634381
-1329469
lines changed

.c8rc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"reporter": ["lcovonly", "cobertura"],
3+
"src": "src",
4+
"include": ["src/**", "built/local/**"],
5+
"exclude": ["**/node_modules/**"],
6+
"mergeAsync": true
7+
}

.dockerignore

Lines changed: 0 additions & 35 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

.eslintrc.json

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"root": true,
23
"parser": "@typescript-eslint/parser",
34
"parserOptions": {
45
"warnOnUnsupportedTypeScriptVersion": false,
@@ -10,14 +11,22 @@
1011
"es6": true
1112
},
1213
"plugins": [
13-
"@typescript-eslint", "no-null", "import", "eslint-plugin-local"
14+
"@typescript-eslint", "no-null", "import", "eslint-plugin-local", "simple-import-sort"
15+
],
16+
"ignorePatterns": [
17+
"**/node_modules/**",
18+
"/built/**",
19+
"/tests/**",
20+
"/lib/**",
21+
"/src/lib/*.generated.d.ts",
22+
"/scripts/**/*.js",
23+
"/scripts/**/*.d.*",
24+
"/internal/**",
25+
"/coverage/**"
1426
],
1527
"rules": {
16-
"sort-imports": ["error", {
17-
"ignoreCase": true,
18-
"ignoreDeclarationSort": true,
19-
"allowSeparatedGroups": true
20-
}],
28+
"simple-import-sort/imports": "error",
29+
"simple-import-sort/exports": "error",
2130

2231
"@typescript-eslint/adjacent-overload-signatures": "error",
2332
"@typescript-eslint/array-type": "error",
@@ -88,7 +97,7 @@
8897
"allowDeclarations": true
8998
}],
9099
"local/no-double-space": "error",
91-
"local/boolean-trivia": "error",
100+
"local/argument-trivia": "error",
92101
"local/no-in-operator": "error",
93102
"local/simple-indent": "error",
94103
"local/debug-assert": "error",
@@ -168,6 +177,14 @@
168177
{ "name": "exports" }
169178
]
170179
}
180+
},
181+
{
182+
// These files contain imports in a specific order that are generally unsafe to modify.
183+
"files": ["**/_namespaces/**"],
184+
"rules": {
185+
"simple-import-sort/imports": "off",
186+
"simple-import-sort/exports": "off"
187+
}
171188
}
172189
]
173190
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.js linguist-language=TypeScript
2+
**/*.json linguist-language=jsonc
23
* -text

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,16 @@ Please keep and fill in the line that best applies:
4343
### ⏯ Playground Link
4444

4545
<!--
46-
A link to a TypeScript Playground "Share" link which shows this behavior
47-
48-
The TypeScript Workbench can be used for more complex setups, try
49-
https://www.typescriptlang.org/dev/bug-workbench/
46+
A link to a TypeScript Playground "Share" link which shows this behavior.
47+
This should have the same code as the code snippet below, and use whichever settings are relevant to your report.
5048
5149
As a last resort, you can link to a repo, but these will be slower for us to investigate.
5250
-->
5351
[Playground link with relevant code](https://www.typescriptlang.org/play?#code/PTAEFkE9QYwewCYFNQHM5IM6gBZIE5JA)
5452

5553
### 💻 Code
5654

57-
<!-- Please post the relevant code sample here as well-->
55+
<!-- Please post the relevant code sample here as well. This code and the Playground code should be the same, do not use separate examples -->
5856
```ts
5957
// We can quickly address your report if:
6058
// - The code sample is short. Nearly all TypeScript bugs can be demonstrated in 20-30 lines of code!

.github/codeql/codeql-configuration.yml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,6 @@ name : CodeQL Configuration
33
paths:
44
- src
55
- scripts
6-
- Gulpfile.mjs
6+
- Herebyfile.mjs
77
paths-ignore:
88
- src/lib
9-
10-
# These queries appear to time out after the module conversion.
11-
# https://github.com/github/codeql/issues/10937
12-
query-filters:
13-
- exclude:
14-
id: js/path-injection # TaintedPath.ql
15-
- exclude:
16-
id: js/command-line-injection # CommandInjection.ql
17-
- exclude:
18-
id: js/code-injection # CodeInjection.ql
19-
- exclude:
20-
id: js/bad-code-sanitization # ImproperCodeSanitization.ql
21-
- exclude:
22-
id: js/unsafe-dynamic-method-access # UnsafeDynamicMethodAccess.ql
23-
- exclude:
24-
id: js/clear-text-logging # CleartextLogging.ql
25-
- exclude:
26-
id: js/regex-injection # RegExpInjection.ql
27-
- exclude:
28-
id: js/unvalidated-dynamic-method-call # UnvalidatedDynamicMethodCall.ql
29-
- exclude:
30-
id: js/insecure-download # InsecureDownload.ql
31-
- exclude:
32-
id: js/prototype-polluting-assignment # PrototypePollutingAssignment.ql
33-
- exclude:
34-
id: js/request-forgery # RequestForgery.ql

0 commit comments

Comments
 (0)