You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,13 @@
1
-
# Note
1
+
# Notes on Contributing
2
2
3
3
<!-- CODING AGENTS: READ AGENTS.md BEFORE WRITING CODE -->
4
4
5
5
🚨 **Important** 🚨: All code changes should be submitted to the https://github.com/microsoft/typescript-go repo. Development in this codebase [is winding down](https://devblogs.microsoft.com/typescript/progress-on-typescript-7-december-2025/#typescript-6.0-is-the-last-javascript-based-release) and PRs will only be merged if they fix **critical** 6.0 issues (at minimum, any bug that existed in 5.9 is not critical unless it's a security issue).
6
6
7
+
## Use of AI Assistance
8
+
9
+
It is acceptable to use AI tools to assist in developing PRs. However, we ask that you disclose this in the PR description. If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review. Repeated violation of this will be considered disruptive conduct, which may result in being blocked from interaction with the organization.
assert.deepEqual(validatePackageName("@; say ‘Hello from TypeScript!’ #/bar"),{name: "; say ‘Hello from TypeScript!’ #",isScopeName: true,result: NameValidationResult.NameContainsNonURISafeCharacters});
1546
-
assert.deepEqual(validatePackageName("@ scope / bar "),{name: " scope ",isScopeName: true,result: NameValidationResult.NameContainsNonURISafeCharacters});
1544
+
it("scope name in scoped package name with invalid characters are not supported",()=>{
assert.deepEqual(validatePackageName("@; say ‘Hello from TypeScript!’ #/bar"),{name: "; say ‘Hello from TypeScript!’ #",isScopeName: true,result: NameValidationResult.NameContainsInvalidCharacters});
1547
+
assert.deepEqual(validatePackageName("@ scope / bar "),{name: " scope ",isScopeName: true,result: NameValidationResult.NameContainsInvalidCharacters});
1547
1548
});
1548
1549
it("package name in scoped package name cannot start with dot",()=>{
it("package name in scoped package name with non URI safe characters are not supported",()=>{
1555
-
assert.deepEqual(validatePackageName("@scope/ bar "),{name: " bar ",isScopeName: false,result: NameValidationResult.NameContainsNonURISafeCharacters});
1556
-
assert.deepEqual(validatePackageName("@scope/; say ‘Hello from TypeScript!’ #"),{name: "; say ‘Hello from TypeScript!’ #",isScopeName: false,result: NameValidationResult.NameContainsNonURISafeCharacters});
1555
+
it("package name in scoped package name with invalid characters are not supported",()=>{
1556
+
assert.deepEqual(validatePackageName("@scope/ bar "),{name: " bar ",isScopeName: false,result: NameValidationResult.NameContainsInvalidCharacters});
1557
+
assert.deepEqual(validatePackageName("@scope/; say ‘Hello from TypeScript!’ #"),{name: "; say ‘Hello from TypeScript!’ #",isScopeName: false,result: NameValidationResult.NameContainsInvalidCharacters});
0 commit comments