Arthur Ozga
c1d466a716
suppress type annotations in js file
2017-06-01 14:12:25 -07:00
Arthur Ozga
f2163fecbd
use length helper
2017-06-01 11:09:08 -07:00
Arthur Ozga
5030d0f468
Use factory for all fixes
2017-06-01 10:49:08 -07:00
Arthur Ozga
21fc30f69b
Add support across files and static, js methods
2017-05-31 17:41:35 -07:00
Arthur Ozga
f56be99b11
cleanup
2017-05-23 13:51:00 -07:00
Arthur Ozga
15c029189c
testing
2017-05-23 13:32:41 -07:00
Arthur Ozga
420279b99d
add missing method
2017-05-23 13:06:15 -07:00
Arthur Ozga
567b10d71c
Merge pull request #15545 from aozgaa/atTypesPrefixAndImportSuffix
...
At types prefix and import suffix
2017-05-22 16:53:04 -07:00
Andy Hanson
dc40f5d6b9
Merge branch 'master' into jsdoc
2017-05-17 07:17:32 -07:00
Andy Hanson
38784b761a
Support for JSDoc in services
2017-05-15 14:45:30 -07:00
Arthur Ozga
62dbf12825
Merge branch 'master' into typeToStringViaTypeNode
2017-05-12 13:09:43 -07:00
Nathan Shively-Sanders
3768daeeca
Merge pull request #15594 from Microsoft/get-name-of-declaration-wrapper
...
Get name of declaration uniformly, even for JS-style assignment declarations.
2017-05-10 08:08:07 -07:00
Nathan Shively-Sanders
370b5618a0
Merge branch 'master' into spelling-correction
2017-05-09 10:01:03 -07:00
Nathan Shively-Sanders
0080c5fd66
Merge branch 'master' into get-name-of-declaration-wrapper
...
This PR included a fix that I already checked in this morning.
2017-05-08 15:39:57 -07:00
Ron Buckton
47bd4d3a87
Merge pull request #15531 from Microsoft/moreFactoryFuncs
...
More factory functions
2017-05-08 12:05:05 -07:00
Nathan Shively-Sanders
d35f6c3581
getNameOfDeclaration uniformly, including JS decls
...
JS-style assignment declarations have a name, but it's not stored on the
name property of the BinaryExpression. This commit adds
`getNameOfDeclaration` to uniformly get the name of a declaration.
It also reworks the declaration of `Declaration` so that accessing
`name` is an error unless the type does *not* include
BinaryExpression.
2017-05-04 16:12:54 -07:00
Arthur Ozga
384d54603f
Basic parens handling and stubbed TypeFormatFlags
2017-05-04 15:27:50 -07:00
Nathan Shively-Sanders
9eaf40bded
Merge branch 'master' into spelling-correction
2017-05-03 15:34:32 -07:00
Arthur Ozga
0b68b934ef
respond to comments
2017-05-03 13:30:53 -07:00
Arthur Ozga
5ce32ccbe3
factor out helpers + cleanup startsWith and friends
2017-05-03 13:13:28 -07:00
Arthur Ozga
f2e5fa5bd1
Merge branch 'master' into atTypesPrefixAndImportSuffix
2017-05-02 17:29:32 -07:00
Arthur Ozga
5444f3cbd4
handle @types and scoped @types
2017-05-02 17:19:14 -07:00
Arthur Ozga
4c0735218e
move import getCodeActions into named method
2017-05-02 15:52:17 -07:00
Ron Buckton
d37426d865
Fill out remaining factory functions
2017-05-01 13:40:47 -07:00
Nathan Shively-Sanders
1bff5b749e
Codefix:suggest spellings+update others w/new codes
2017-05-01 11:41:01 -07:00
Andy Hanson
3590048d9b
unusedIdentifierFixes: Factor out nested switch statements and fix implicit fallthrough
2017-05-01 09:37:07 -07:00
Arthur Ozga
cddccf1f43
Merge branch 'master' into typeToStringViaTypeNode
2017-04-19 10:48:38 -07:00
Andy Hanson
455492d887
Merge branch 'master' into fallthrough
2017-04-18 09:48:21 -07:00
Arthur Ozga
cbbf6f8847
Merge branch 'master' into tripleEquals
2017-04-17 15:57:51 -07:00
Andy Hanson
a82ac45e36
Merge branch 'master' into fallthrough
2017-04-12 10:58:03 -07:00
Andy Hanson
ed5eca2b7b
boolean-trivia lint rule: Enforce space between comment and argument
2017-04-11 09:44:58 -07:00
Ryan Cavanaugh
d8a24e3a5b
Merge pull request #15021 from RyanCavanaugh/lintFixes
...
Update linting to avoid typechecking for booleanTriviaRule
2017-04-05 12:26:58 -07:00
Arthur Ozga
3bdec6943e
Merge branch 'master' into tripleEquals
2017-04-05 11:51:21 -07:00
Ryan Cavanaugh
e3bb5d3f28
Update linting to avoid typechecking for booleanTriviaRule
2017-04-04 22:34:51 -07:00
Arthur Ozga
7e03429a8e
enforce triple-equals
2017-04-04 15:51:13 -07:00
Andy Hanson
73cab09608
Enable jsdoc-format lint rule
2017-04-03 14:39:19 -07:00
Arthur Ozga
7e2517975c
Basic functionality
...
* pass context as argument in xToNode methods
* make sourcefile optional in printer
* start consolidating NodeBuilderFlags and TypeFormatFlags
2017-03-30 14:14:15 -07:00
Mohamed Hegazy
0637f241b7
Merge remote-tracking branch 'origin/master' into checkJSFiles
2017-03-27 21:23:07 -07:00
Andy Hanson
1cf765d664
Lint for fallthrough in switch
2017-03-27 15:09:00 -07:00
Arthur Ozga
4329b4524e
Cleanup
2017-03-27 12:01:56 -07:00
Arthur Ozga
7340c4ca1e
type predicate support
2017-03-27 11:53:44 -07:00
Arthur Ozga
a7c166c4a5
optional signature
2017-03-24 12:56:54 -07:00
Arthur Ozga
82bd05bbc0
Merge branch 'master' into createTypeNode
2017-03-23 16:29:00 -07:00
Arthur Ozga
8915cb9a0f
Split signature factory methods
2017-03-23 13:41:54 -07:00
Mohamed Hegazy
db6c96967c
Change ingore diagonstic comment to // @ts-ignore
2017-03-22 16:23:21 -07:00
Mohamed Hegazy
e408cad618
Merge branch 'master' into checkJSFiles
2017-03-22 15:45:27 -07:00
Arthur Ozga
43e01f282b
remove trivia
2017-03-22 14:50:01 -07:00
Arthur Ozga
c4ddc5bffa
Respond to more comments
2017-03-22 12:54:51 -07:00
Arthur Ozga
5b739cf78c
respond to comments
2017-03-21 22:54:06 -07:00
Arthur Ozga
ff061a1b93
consolidate edits
2017-03-17 14:56:04 -07:00