-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to 4.0, deprecate 2.8 Also switch from definitelytyped-header-parser to @definitelytyped/header-parser, @definitelytyped/typescript-versions, @definitelytyped/utils. This brings a couple of updates, principally a new way of tracking which TS versions have shipped under the "latest" tag vs shipped under the "next" tag. dtslint tests *only* versions that have shipped under "latest", plus whatever is *currently* shipping under "next". It doesn't test any betas or RCs. Note that the new dependencies are currently closed source. We're waiting on the MS open source legal office to OK the new repos. * make range handle latest correctly * reindent tsconfig
- Loading branch information
Showing
10 changed files
with
879 additions
and
129 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 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
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
2 changes: 1 addition & 1 deletion
2
packages/dtslint/test/dt-header/wrong/types/bad-url-username/index.d.ts.lint
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,5 +1,5 @@ | ||
// Type definitions for dt-header 1.0 | ||
// Project: https://github.com/bobby-headers/dt-header | ||
// Definitions by: Jane Doe <https://github.com/jane doe> | ||
~ [Error parsing header. Expected: /\<https\:\/\/github\.com\/([a-zA-Z\d\-]+)\>/. See: https://github.com/Microsoft/dtslint/blob/master/docs/dt-header.md] | ||
~ [Error parsing header. Expected: /\<https\:\/\/github\.com\/([a-zA-Z\d\-]+)\/?\>/. See: https://github.com/Microsoft/dtslint/blob/master/docs/dt-header.md] | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped |
2 changes: 1 addition & 1 deletion
2
packages/dtslint/test/dt-header/wrong/types/bad-url/index.d.ts.lint
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,5 +1,5 @@ | ||
// Type definitions for dt-header 1.0 | ||
// Project: https://github.com/bobby-headers/dt-header | ||
// Definitions by: Jane Doe <https://github.org/janedoe> | ||
~ [Error parsing header. Expected: /\<https\:\/\/github\.com\/([a-zA-Z\d\-]+)\>/. See: https://github.com/Microsoft/dtslint/blob/master/docs/dt-header.md] | ||
~ [Error parsing header. Expected: /\<https\:\/\/github\.com\/([a-zA-Z\d\-]+)\/?\>/. See: https://github.com/Microsoft/dtslint/blob/master/docs/dt-header.md] | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped |
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,20 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es6", | ||
"lib": ["es2017"], | ||
"outDir": "bin", | ||
"sourceMap": true, | ||
"newLine": "lf", | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es6", | ||
"lib": ["es2017"], | ||
"outDir": "bin", | ||
"sourceMap": true, | ||
"newLine": "lf", | ||
|
||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitAny": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"strictNullChecks": true | ||
}, | ||
"include": ["src"] | ||
} | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitAny": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"strictNullChecks": true, | ||
"esModuleInterop": true | ||
}, | ||
"include": ["src"] | ||
} |