Commit graph

93 commits

Author SHA1 Message Date
Yui 5433553131 Fix 8589: by appending "-1.0" pre-release version will be comparising by lexically comparison in ASCII sort order. (#8629) 2016-05-16 16:57:11 -07:00
Wesley Wigham 37a0e8f502 Remove custom no-null rule, use tslint builtin no null rule 2016-04-13 02:09:14 -04:00
Mohamed Hegazy a75a02cc7b Fix issue writing too many files asynchronuslly 2016-03-10 16:59:56 -08:00
Nathan Shively-Sanders ec4c6fea2d Merge branch 'master' into lint-nested-++ 2016-01-04 08:56:05 -08:00
Nathan Shively-Sanders 710b379cdc Update lint message to not mention element access. 2016-01-04 08:44:16 -08:00
Daniel Rosenwasser 9c61e53a78 Allow tagged boolean arguments to be followed with a colon. 2015-12-28 17:11:55 -05:00
Nathan Shively-Sanders 189357db1a Tighten no ++/-- rule 2015-12-22 15:37:24 -08:00
Anders Hejlsberg e93df41f54 Addressing CR feedback 2015-12-18 19:06:44 -08:00
Anders Hejlsberg 58e869d5e4 Remove unused variable 2015-12-17 18:25:17 -08:00
Anders Hejlsberg 94e91e5960 Use hidden text in Word document for markdown image links 2015-12-17 18:20:49 -08:00
Anders Hejlsberg 549fbf58ac Adjusting indentation 2015-12-17 16:50:22 -08:00
Anders Hejlsberg 3f65a31a4f Property show images in Language Specification markdown 2015-12-17 16:43:55 -08:00
Wesley Wigham a69825e84e tweak rules 2015-12-01 16:27:19 -08:00
Wesley Wigham 3fba14ed6a rule text fix 2015-12-01 16:20:31 -08:00
Wesley Wigham de89459162 add new rule 2015-12-01 16:19:40 -08:00
Wesley Wigham 3085806fc2 lint rule forbidding the in keyword binary expression 2015-12-01 15:14:24 -08:00
Yui T 97f0bfcd72 apply tslint rule to scripts\tslint 2015-11-20 16:28:58 -08:00
Daniel Rosenwasser bd84b844ff Remove unnecessary 'else' block. 2015-11-18 10:07:42 -08:00
Daniel Rosenwasser cbb61654fb Small refactorings. 2015-11-18 01:53:12 -08:00
Daniel Rosenwasser 15d689cdcd Simplify simplify simplify. 2015-11-18 01:46:17 -08:00
Daniel Rosenwasser cf007461b9 Fixed invalid code for binding expressions. 2015-11-18 01:41:41 -08:00
Wesley Wigham 15f505e6aa use tslint@next 2015-11-11 13:30:26 -08:00
Wesley Wigham 84551d7cbd for..of loops 2015-11-04 17:39:04 -08:00
Wesley Wigham db2f5f2249 I love fixing lints on my linter code 2015-11-04 14:58:48 -08:00
Wesley Wigham 51fc4f2c23 Add prefer const rule 2015-11-04 14:51:31 -08:00
Paul van Brenk dababb10a6 Merge pull request #5273 from Microsoft/shortenLocMessages
Shorten loc messages
2015-10-26 14:34:57 -07:00
Ryan Cavanaugh d284a90cc2 Style changes 2015-10-22 15:43:18 -07:00
Ryan Cavanaugh 9da964f019 Remove extra semicolon (the irony) 2015-10-22 11:39:41 -07:00
Ryan Cavanaugh 69236c9be8 Add rule to check spaces around intersection/union type operators 2015-10-22 11:35:48 -07:00
Paul van Brenk 90cc848a15 Add linebreaks for readability 2015-10-15 11:46:50 -07:00
Paul van Brenk 4cd62de8d4 Shorten the key we use for the loc message. 2015-10-15 11:22:22 -07:00
Wesley Wigham e16a14b5b3 tslint had a new release and added this rule, theirs was a little stricter 2015-10-02 15:15:39 -07:00
Mohamed Hegazy bd5d0965bb Merge pull request #4847 from Microsoft/looser-next-line-rule
Next-line rule was too strict
2015-09-29 12:01:58 -07:00
Wesley Wigham 9984ae9000 We can go simpler 2015-09-24 17:04:57 -07:00
Wesley Wigham e747bf2b36 fix hook 2015-09-24 17:02:10 -07:00
Wesley Wigham 758e4402da Add git hooks 2015-09-24 17:00:27 -07:00
Daniel Rosenwasser 962ba8288b Conflicts should cause errors instead of warnings. 2015-09-20 12:41:28 -07:00
Daniel Rosenwasser 2e5b6fec7c Add funcitonality to warn on duplicate codes. 2015-09-20 12:14:56 -07:00
Daniel Rosenwasser c28efb7572 Merge pull request #4845 from Microsoft/updateDTRWC
Fix importDefinitelyTypedTests script
2015-09-18 14:39:53 -07:00
Daniel Rosenwasser 5a2a7021fa Fix jake task, style/const in script. 2015-09-18 13:13:36 -07:00
Wesley Wigham fe5bca8712 Next-line rule was too strict
We have a few places where we do this:
```ts
if {
  //...
}
// Look, a comment
else {
  //...
}
```
I don't think we want to forbid these cases, so I'm loosening the requirement from "must be on the line after the prior curly brace" to "can't be on the same line as the curly brace".
2015-09-17 19:11:44 -07:00
Daniel Rosenwasser 37ee17d40d es3 -> es5. 2015-09-17 17:56:39 -07:00
Daniel Rosenwasser bf989aa565 Final touches on the script. 2015-09-17 17:26:10 -07:00
Daniel Rosenwasser 23af2a7163 Improved command line interaction for 'importDefinitelyTypedTests' script. 2015-09-17 16:37:18 -07:00
Daniel Rosenwasser 22eef28cbd forEach -> for-of, and other changes. 2015-09-17 16:33:50 -07:00
Wesley Wigham 2793bc2acd Feedback from PR, remove unused identifiers 2015-09-17 14:29:52 -07:00
Daniel Rosenwasser 8bb6313b22 Use explicit types, var -> let/const, misspellings, style. 2015-09-16 17:42:42 -07:00
Daniel Rosenwasser a47b7b8f17 Added 'tsconfig.json' for 'importDefinitelyTypedTests' script. 2015-09-16 17:35:18 -07:00
Daniel Rosenwasser 9696e57772 Added tsd.json file with 'node.d.ts'. 2015-09-16 17:34:31 -07:00
Daniel Rosenwasser 1500f5cd02 Moved importDefinitelyTypedTests.ts to its own folder. 2015-09-16 17:28:30 -07:00