Skip to content

Commit 7719b02

Browse files
committed
Merge from master
2 parents 5128b04 + fec691e commit 7719b02

File tree

491 files changed

+23232
-5756
lines changed

Some content is hidden

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

491 files changed

+23232
-5756
lines changed

Jakefile.js

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,6 @@ var serverCoreSources = [
108108
return path.join(serverDirectory, f);
109109
});
110110

111-
var scriptSources = [
112-
"tslint/booleanTriviaRule.ts",
113-
"tslint/nextLineRule.ts",
114-
"tslint/noNullRule.ts",
115-
"tslint/preferConstRule.ts",
116-
"tslint/typeOperatorSpacingRule.ts",
117-
"tslint/noInOperatorRule.ts"
118-
].map(function (f) {
119-
return path.join(scriptsDirectory, f);
120-
});
121-
122111
var serverSources = serverCoreSources.concat(servicesSources);
123112

124113
var languageServiceLibrarySources = [
@@ -878,7 +867,8 @@ var tslintRules = ([
878867
"preferConstRule",
879868
"booleanTriviaRule",
880869
"typeOperatorSpacingRule",
881-
"noInOperatorRule"
870+
"noInOperatorRule",
871+
"noIncrementDecrementRule"
882872
]);
883873
var tslintRulesFiles = tslintRules.map(function(p) {
884874
return path.join(tslintRuleDir, p + ".ts");
@@ -921,10 +911,19 @@ function lintFileAsync(options, path, cb) {
921911
});
922912
}
923913

914+
var servicesLintTargets = [
915+
"services.ts",
916+
"outliningElementsCollector.ts",
917+
"navigateTo.ts",
918+
"patternMatcher.ts",
919+
].map(function (s) {
920+
return path.join(servicesDirectory, s);
921+
});
924922
var lintTargets = compilerSources
925923
.concat(harnessCoreSources)
926924
.concat(serverCoreSources)
927-
.concat(scriptSources);
925+
.concat(tslintRulesFiles)
926+
.concat(servicesLintTargets);
928927

929928
desc("Runs tslint on the compiler sources");
930929
task("lint", ["build-rules"], function() {

doc/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This directory contains miscellaneous documentation such as the TypeScript language specification and logo.
2+
If you are looking for more introductory material, you might want to take a look at the [TypeScript Handbook](https://github.com/Microsoft/TypeScript-Handbook).
3+
4+
# Spec Contributions
5+
6+
The specification is first authored as a Microsoft Word (docx) file and then generated into Markdown and PDF formats.
7+
Due to the binary format of docx files, and the merging difficulties that may come with it, it is preferred that any suggestions or problems found in the spec should be [filed as issues](https://github.com/Microsoft/TypeScript/issues/new) rather than sent as pull requests.
Binary file not shown.
Binary file not shown.
5.14 KB
Binary file not shown.
58 KB
Binary file not shown.

doc/images/image1.png

11.4 KB
Loading

doc/images/image2.png

10 KB
Loading

doc/images/image3.png

5.86 KB
Loading

doc/images/image4.png

15.7 KB
Loading

0 commit comments

Comments
 (0)