Skip to content

Enable force consistent casing in file names by default #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1594 commits
Select commit Hold shift + click to select a range
029f7a3
Merge pull request #33124 from armanio123/FixGotoMultipleFile
armanio123 Aug 29, 2019
9781b95
Fixes #32923
minestarks Aug 15, 2019
909bc61
Add convert const to let
fuafa Aug 30, 2019
b31d5b3
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Aug 30, 2019
2f0ac25
Defer resolution of type arguments in aliased type references
ahejlsberg Aug 30, 2019
81bfa6f
Accept new baselines
ahejlsberg Aug 30, 2019
ad02f47
Merge pull request #33148 from minestarks/formatting-object-literals
minestarks Aug 30, 2019
e2b9423
Update user baselines (#33162)
Aug 30, 2019
383286f
Add type parameter inference
sandersn Aug 30, 2019
5ea4257
Fix the semantic diagnostics caching in builder to handle conversion …
sheetalkamat Aug 30, 2019
79bcb3d
Handle seenEmittedFiles which was not being set when emit of a file w…
sheetalkamat Aug 30, 2019
a92d599
Tweak isAliasedType
ahejlsberg Aug 30, 2019
b9cb3a6
Accept new baselines
ahejlsberg Aug 31, 2019
006a327
Flag non-nullable values with call expressions in `if` statements as …
jwbay Aug 10, 2019
b1d748b
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Aug 31, 2019
49c3afd
update eslint, typescript-eslint, eslint-plugin-jsdoc
a-tarasyuk Aug 31, 2019
3c9e338
Only error when testing functions that are not used in the following …
jwbay Aug 18, 2019
0745746
LEGO: check in for master to temporary branch.
csigs Sep 2, 2019
f41472b
LEGO: Merge pull request 33194
csigs Sep 2, 2019
c3af6a3
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Sep 2, 2019
d85eb26
update typescript-eslint, eslint-plugin-jsdoc, del. remove @types/del
a-tarasyuk Sep 2, 2019
17d1a7e
Merge branch 'master' into infer-from-usage/similarity-to-builtins
sandersn Sep 3, 2019
5de0303
Fix transpiling when options specify incremental or tsbuildinfofile
sheetalkamat Sep 3, 2019
0589d2d
Value for transpile option in CommandLineOption
sheetalkamat Sep 3, 2019
4fe2722
Merge pull request #33216 from microsoft/transpileIncremental
sheetalkamat Sep 3, 2019
8ffc42f
Don't instantiate-in-context-of when inferring to type variable
ahejlsberg Sep 3, 2019
3b96729
Fix visitLexicalEnvironment to properly merge hoisted declarations (#…
rbuckton Sep 3, 2019
82a1a28
Update user baselines (#33212)
Sep 3, 2019
c02fdaa
Accept new baselines
ahejlsberg Sep 3, 2019
4bd9b62
Add regression tests
ahejlsberg Sep 4, 2019
bbec8b3
Accept new baselines
ahejlsberg Sep 4, 2019
f0e8518
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Sep 4, 2019
06f22f8
fix eslint errors
a-tarasyuk Sep 4, 2019
9efb31c
Merge branch 'feature/eslint' of https://github.com/a-tarasyuk/TypeSc…
a-tarasyuk Sep 4, 2019
c06fd14
Update user baselines (#33238)
Sep 4, 2019
ff38a1b
Merge branch 'master' into infer-from-usage/similarity-to-builtins
sandersn Sep 4, 2019
f8f8876
Handle browserify-ignored module result for etw logger (#33225)
weswigham Sep 4, 2019
b542bdf
Bind typedef/enum on all assignment decl kinds (#33240)
sandersn Sep 4, 2019
8ca36f3
someTypeRelatedToType now passes isIntersectionConstituent (#33213)
sandersn Sep 4, 2019
9920da2
Ensure that TS can run in a browser by checking for a process obj bef…
Sep 4, 2019
3109b64
Elevate mapped types over type parameters in the same way as naked ty…
weswigham Sep 4, 2019
43d3dc8
Make lower priority inference when entire source is matched in target
ahejlsberg Sep 4, 2019
1a28fd0
Accept new baselines
ahejlsberg Sep 4, 2019
228b727
Add regression test
ahejlsberg Sep 4, 2019
7b4ffb1
Accept new baselines
ahejlsberg Sep 4, 2019
5de180e
Merge branch 'master' into fix33131
ahejlsberg Sep 4, 2019
2b153fc
Add browser field entries for all require calls in sys.ts (#33242)
weswigham Sep 4, 2019
72bb4c2
Mark deep indexed access comparisons as expanding (#33144)
weswigham Sep 5, 2019
aaa064b
Fix lint error
ahejlsberg Sep 5, 2019
7ea134b
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Sep 5, 2019
d26fa2c
fix eslint errors
a-tarasyuk Sep 5, 2019
c5e6d95
Merge pull request #33252 from microsoft/fix33131
ahejlsberg Sep 5, 2019
72a0f38
Update user baselines
typescript-bot Sep 5, 2019
4584b31
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Sep 5, 2019
b85134b
Fix smart selection bug with TemplateTails (#33108)
andrewbranch Sep 5, 2019
b3ec4ed
Update user baselines (#33261)
sandersn Sep 5, 2019
c26c44d
Merge pull request #32266 from fuafa/properties-priorities
sheetalkamat Sep 5, 2019
a381968
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Sep 5, 2019
54d9ce9
Merge branch 'master' into referencesPrototypeSourceFile
sheetalkamat Sep 5, 2019
052a3d9
Infer void from expr statement usage, not calls
sandersn Sep 5, 2019
d32c6b2
Fallback type is always any now
sandersn Sep 5, 2019
f394190
Tonnes of cleanup
sandersn Sep 6, 2019
1703ae0
Renames and more cleanup
sandersn Sep 6, 2019
a932986
Add heuristic for extracting irreducible `null` and `undefined` types…
weswigham Sep 6, 2019
fb453f8
Update user baselines (#33281)
Sep 6, 2019
330e51f
Add test + reshuffle/rename new code
sandersn Sep 6, 2019
bc7413e
LEGO: check in for master to temporary branch.
csigs Sep 6, 2019
73a2146
LEGO: Merge pull request 33292
csigs Sep 6, 2019
9ee2b4d
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Sep 7, 2019
99f9719
Added codefix for numeric literals >= 2 ** 53
Sep 7, 2019
79e9bb1
Added explicit check for scientific notation
Sep 7, 2019
1f7045a
LEGO: check in for master to temporary branch.
csigs Sep 9, 2019
79c01c0
LEGO: Merge pull request 33324
csigs Sep 9, 2019
6cca052
Update user baselines (#33322)
Sep 9, 2019
f834a50
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
a-tarasyuk Sep 9, 2019
3e9d651
update typescript-eslint to the latest version
a-tarasyuk Sep 9, 2019
566d32b
Refactor to write baseline of sourcemaps that are written
sheetalkamat Sep 9, 2019
1f149cc
Use clean and written files to verify the tsbuild incremental compila…
sheetalkamat Sep 9, 2019
bfc4f7a
Get the last output from the written files
sheetalkamat Sep 9, 2019
e43d504
Baseline tsbuild info section files from written files
sheetalkamat Sep 9, 2019
8521002
Baseline emitted files that are written even if same file contents
sheetalkamat Sep 9, 2019
11fd654
Separate emitOnlyDtsFiles and forcing dts emit (for builder signature…
sheetalkamat Sep 9, 2019
49be51d
Added more helpful syntax error for enum member commas
Sep 10, 2019
92dbb65
Accepted a few more baselines, why not
Sep 10, 2019
ddd435d
LEGO: check in for master to temporary branch.
csigs Sep 10, 2019
e934a0d
LEGO: Merge pull request 33343
csigs Sep 10, 2019
861f0be
update eslint-formatter-autolinkable-stylish
a-tarasyuk Sep 10, 2019
686e9a4
Do not emit .js files if only d.ts file will be impacted.
sheetalkamat Sep 10, 2019
630499e
Assume void variables are initialized
jack-williams Sep 2, 2019
2152874
Address CR feedback
ahejlsberg Sep 10, 2019
d7c83f0
Merge pull request #31777 from a-tarasyuk/feature/eslint
uniqueiniquity Sep 11, 2019
8791b62
Accept new baselines
ahejlsberg Sep 11, 2019
5a180ba
Merge branch 'master' into assertionsInControlFlow
ahejlsberg Sep 11, 2019
894eb59
Better Array.sort compareFn docs
m1gu3l Sep 11, 2019
1d97ae6
Update src/services/refactors/extractSymbol.ts
dragomirtitian Sep 11, 2019
7435425
Merge pull request #33199 from jack-williams/fix-32809
Sep 11, 2019
fb9b3fe
Merge pull request #32345 from dragomirtitian/GH-32325-improve-const-…
Sep 11, 2019
2c967c4
Merge branch 'master' into ts-in-js
Sep 11, 2019
b26ca16
Merge branch 'master' into referencesPrototypeSourceFile
sheetalkamat Sep 11, 2019
4e1768c
Added '}' to allowed characters in diagnostic message
Sep 11, 2019
3a868af
Fix typo
sheetalkamat Sep 11, 2019
c0f0d9f
Merge branch 'master' into dtsOnlyEmit
sheetalkamat Sep 11, 2019
07b9715
Allow .d.ts with --isolatedModules
sheetalkamat Sep 4, 2019
2692b2e
Add failing test cases for isolatedModules after enabling declaration…
sheetalkamat Sep 4, 2019
0019cee
Handle --isolatedModules and d.ts emit in the builder
sheetalkamat Sep 11, 2019
6995a90
Merge pull request #33358 from microsoft/dtsOnlyEmit
sheetalkamat Sep 11, 2019
e8fc62e
Merge pull request #33300 from JoshuaKGoldberg/too-large-integer-bigi…
Sep 11, 2019
f9cc374
Merge pull request #33336 from JoshuaKGoldberg/enum-syntax-error-spec…
Sep 11, 2019
fd6fbdf
Show more items in the navbar (#33040)
jessetrinity Sep 11, 2019
2c8df45
Fixed typo
m1gu3l Sep 12, 2019
436339d
Use declared type for references in unreachable code
ahejlsberg Sep 12, 2019
a9336ba
Revert "Use declared type for references in unreachable code"
ahejlsberg Sep 12, 2019
b69f5af
Merge branch 'master' into infer-from-usage/similarity-to-builtins
sandersn Sep 12, 2019
3c79225
Update baselines with any[] inferences
sandersn Sep 12, 2019
0cf00fa
Merge pull request #32965 from ajafff/ts-in-js
Sep 12, 2019
de7d68a
Even more renaming
sandersn Sep 12, 2019
a8d04b2
Fix `Identifiers: NaN` diagnostic when having JSON SourceFiles
Swatinem Sep 12, 2019
bc7bde3
Merge pull request #33390 from Swatinem/identifiers-nan
sheetalkamat Sep 12, 2019
d94d715
Make perf count functions public
sandersn Sep 12, 2019
a4bacf3
Merge pull request #33400 from microsoft/make-perf-count-functions-pu…
sandersn Sep 12, 2019
971b0df
Use declared type for references in unreachable code (again)
ahejlsberg Sep 13, 2019
93a250b
fix duplicate async modifier codefix
Kingwl Sep 13, 2019
3749de6
Dedicated isReachableFlowNode function to determine reachability
ahejlsberg Sep 13, 2019
1755db4
Add build-eslint-rules to npm prepare script (#33417)
andrewbranch Sep 13, 2019
3a89c8c
Use isReachableFlowNode to check for implicit return
ahejlsberg Sep 13, 2019
99229f8
Update user baselines (#33411)
Sep 13, 2019
038d951
Remove all submodules - just force clone and reset on run instead (#3…
weswigham Sep 13, 2019
cc6e493
Treat exhaustive switch statements like non-returning functions in CFA
ahejlsberg Sep 14, 2019
0060964
Further CFA handling of exhaustive switch statements
ahejlsberg Sep 15, 2019
51dcce2
Accept new baselines
ahejlsberg Sep 15, 2019
59b76ce
Fix call to Debug.fail in compiler
ahejlsberg Sep 15, 2019
945babb
Fix inference circularity error triggered by exhaustive switch analysis
ahejlsberg Sep 15, 2019
d26afd7
for-in or for-of expression is evaluated before loop back edge
ahejlsberg Sep 15, 2019
05d1e68
Fix linting issues
ahejlsberg Sep 16, 2019
09d6cbc
Merge pull request #33418 from Kingwl/duplicate_async
Sep 16, 2019
f06f32d
Update user baselines
typescript-bot Sep 16, 2019
e97ebb7
More efficient scheme for caching flow node reachability
ahejlsberg Sep 16, 2019
def5e37
Revert "More efficient scheme for caching flow node reachability"
ahejlsberg Sep 16, 2019
6d6c620
Report grammatic and type-based unreachable code errors in the same way
ahejlsberg Sep 16, 2019
d9c9129
Ignore references in with statements in getTypeOfDottedName
ahejlsberg Sep 16, 2019
282a7af
Accept new API baselines
ahejlsberg Sep 16, 2019
ed152b7
Merge pull request #33447 from typescript-bot/user-update-Microsoft-2…
sandersn Sep 16, 2019
58e0469
fix typo
fuafa Sep 17, 2019
67aa2b2
fix conflicts
fuafa Sep 17, 2019
bf46ded
Merge pull request #33157 from fuafa/convert-const-to-let
Sep 17, 2019
8cbf694
Cache last isReachableFlowNode result + switch statement CFA fix
ahejlsberg Sep 17, 2019
63d940d
Added example of sortFn
m1gu3l Sep 17, 2019
9466025
Accept new baselines
ahejlsberg Sep 17, 2019
f10e38f
Make extractSymbol explicitly drop JSDoc nodes
amcasey Sep 17, 2019
800eaed
🤖 User test baselines have changed
Sep 17, 2019
2f8832c
Merge pull request #33469 from amcasey/gh33332
amcasey Sep 17, 2019
6bb7e5c
Handle parentless nodes in isParameterPropertyDeclaration
mprobst Sep 9, 2019
a58b86b
Handle parentless nodes in isParameterPropertyDeclaration (#33472)
DanielRosenwasser Sep 17, 2019
56e2cb3
Reverse mapped types should have inferable indexes if their source ha…
weswigham Sep 17, 2019
344dba8
Fix incorrect parameter types for AsyncIterator next/return (#33354)
rbuckton Sep 18, 2019
ba30fdc
Attach flow nodes only when allowUnreachableCode !== true
ahejlsberg Sep 18, 2019
1c20aa0
Narrow unknown under inequality when assumed false (#33488)
jack-williams Sep 18, 2019
683e281
Reintroduce cloneInferredPartOfContext to fix overloaded inferences w…
weswigham Sep 18, 2019
5e06bea
getConstraintDeclaration gets the first declaration with a constraint…
weswigham Sep 18, 2019
e430f2a
Add output file names api for supporting ts-loader
sheetalkamat Sep 18, 2019
cafec55
Properly handle try-finally statements in isReachableFlowNode
ahejlsberg Sep 18, 2019
9402317
report error on extra jsx prop instead of component name
Sep 17, 2019
dbc1722
report extraneous jsx attribute error on attribute name instead of en…
Sep 18, 2019
7b77b49
Enable caching for control flow paths that precede loops
ahejlsberg Sep 19, 2019
73233d7
Merge pull request #33503 from microsoft/moreApisForBuild
sheetalkamat Sep 19, 2019
78057a6
Allow readonly arguments to Promise.all(), etc.
jablko Aug 23, 2019
816e3f3
Fix ESLint extension config (#33501)
andrewbranch Sep 19, 2019
e60d28e
Update user baselines (#33508)
Sep 19, 2019
7f004ad
Merge pull request #33380 from microsoft/isolatedModules
sheetalkamat Sep 19, 2019
d4ad0d5
Cheaper caching scheme
ahejlsberg Sep 20, 2019
7573a6d
Update user baselines (#33534)
Sep 20, 2019
007b4b1
Minor simplification
ahejlsberg Sep 20, 2019
26c816f
When a packed version of TypeScript ios requested, also send a reques…
orta Sep 20, 2019
cc3ee30
Fix grammar issues on CONTRIBUTING.md (#33535)
nunoarruda Sep 20, 2019
1cad8ed
check for SyntaxKind.JSXAttribute instead of located-ness of name prop
Sep 20, 2019
ee6f00d
Merge pull request #33536 from orta/ping_for_playgrounds
Sep 20, 2019
10e3f11
Merge pull request #33510 from microsoft/controlFlowLoopCaching
ahejlsberg Sep 20, 2019
4786279
Expose method to baseline fs
sheetalkamat Sep 12, 2019
b762770
Add test to verify tsc like command line input
sheetalkamat Sep 12, 2019
d6a3a94
Add test that fails to emit declarations correctly
sheetalkamat Sep 13, 2019
2d62050
Show redirected files in --listFiles
sheetalkamat Sep 20, 2019
21b5418
Add tests
ahejlsberg Sep 21, 2019
97d69d4
Accept new baselines
ahejlsberg Sep 21, 2019
c3dcc37
Merge branch 'master' into assertionsInControlFlow
ahejlsberg Sep 21, 2019
bcdf33d
Fix forEachChild
ahejlsberg Sep 21, 2019
5b9a56f
Merge pull request #33057 from jablko/patch-2
Sep 21, 2019
5d09688
Merge pull request #33228 from microsoft/fix32976
ahejlsberg Sep 21, 2019
db7c03d
Merge branch 'master' into recursiveTypeReferences
ahejlsberg Sep 21, 2019
8604d4e
Include type operators in aliased type checks
ahejlsberg Sep 21, 2019
bf08d3b
Fix linting issues
ahejlsberg Sep 23, 2019
0da5415
Remove errors from the gulpfile
orta Sep 23, 2019
86c7d84
update missing baselines
Sep 23, 2019
c67c68e
Sort the paths for module specifier by closeness to importing file path
sheetalkamat Sep 23, 2019
04638a1
Update user baselines
typescript-bot Sep 23, 2019
432da93
Add doc comments for fileExists and directoryExists implementation
sheetalkamat Sep 23, 2019
f9ca8ba
Update user baselines (#33557)
Sep 23, 2019
ff10599
Merge pull request #33563 from orta/remove_gulpfile_errors
Sep 23, 2019
4f25774
Merge pull request #33477 from Nathan-Fenner/error-on-extra-jsx-prop
DanielRosenwasser Sep 23, 2019
84e857b
use forEachEntry
sandersn Sep 23, 2019
6c2ae12
Relax the constraints of isValidBaseType to allow base types to be co…
weswigham Sep 23, 2019
26caa37
Introduce flattened error reporting for properties, call signatures, …
weswigham Sep 23, 2019
367b820
Hoist and distribute type parameter constraints over type parameters …
weswigham Sep 23, 2019
00a43d7
Cache propagating variance flags in the relationship cache (#32225)
weswigham Sep 23, 2019
bf992a5
Merge pull request #32695 from microsoft/assertionsInControlFlow
ahejlsberg Sep 23, 2019
e3d23cc
Add tests
ahejlsberg Sep 24, 2019
3aa3326
Accept new baselines
ahejlsberg Sep 24, 2019
0a4f39a
Update user baselines
typescript-bot Sep 24, 2019
5962a5c
Merge branch 'master' into recursiveTypeReferences
ahejlsberg Sep 24, 2019
f110480
Merge pull request #33263 from microsoft/infer-from-usage/similarity-…
sandersn Sep 24, 2019
64c3fca
Merge pull request #33578 from typescript-bot/user-update-Microsoft-2…
sandersn Sep 24, 2019
aca0bb9
Fix lint on master
sandersn Sep 24, 2019
4ddf191
try eslint-disable-next-line instead
sandersn Sep 24, 2019
f0bf72f
Fix linting issue
ahejlsberg Sep 24, 2019
b2f4af4
Fix that works with both LKG and built compilers
ahejlsberg Sep 24, 2019
41c3e54
change eslint-disable rule name
sandersn Sep 24, 2019
8c2cd88
Make time and tick local to test case so it doesnt affect the baseline
sheetalkamat Sep 24, 2019
bd7d370
Merge branch 'baselining' into resolution
sheetalkamat Sep 24, 2019
bf0fc85
Fix after merging latest baselining branch
sheetalkamat Sep 24, 2019
2e985e7
Merge pull request #33581 from microsoft/fix-lint-20190924
sandersn Sep 24, 2019
27752c6
Merge branch 'master' into recursiveTypeReferences
ahejlsberg Sep 24, 2019
3061a41
Add getTypeArguments method to TypeChecker interface
ahejlsberg Sep 24, 2019
f24cad2
Update the error summary reporter to take sys as parameter
sheetalkamat Sep 24, 2019
fd3ba67
Reword the option description per feedback
sheetalkamat Sep 24, 2019
7fd93fd
Accept API baseline changes
ahejlsberg Sep 24, 2019
992c211
Merge pull request #32028 from microsoft/referencesPrototypeSourceFile
sheetalkamat Sep 24, 2019
585532d
Merge branch 'master' into baselining
sheetalkamat Sep 24, 2019
bdd74b0
Remove all baselines
sheetalkamat Sep 24, 2019
220ee81
Accept the baselines
sheetalkamat Sep 24, 2019
2b7ab89
Merge branch 'baselining' into resolution
sheetalkamat Sep 24, 2019
382ff17
Update emitting timestamps during testing
sheetalkamat Sep 24, 2019
e6b45ad
Merge pull request #3 from typescript-bot/user-update-jwbay-20190801-…
jwbay Sep 24, 2019
3d30a02
Update user baselines
typescript-bot Sep 25, 2019
16275f6
Merge branch 'baselining' into resolution
sheetalkamat Sep 25, 2019
4468d88
Merge pull request #33566 from microsoft/baselining
sheetalkamat Sep 25, 2019
041b16c
Merge branch 'master' into resolution
sheetalkamat Sep 25, 2019
9faca24
Merge pull request #33593 from typescript-bot/user-update-Microsoft-2…
sandersn Sep 25, 2019
3d6a182
Accept change in existing baseline
sheetalkamat Sep 25, 2019
8e232e4
Limit this.foo(...) reachability checks to explicit this types
ahejlsberg Sep 25, 2019
cefd1e4
Add regression test
ahejlsberg Sep 25, 2019
0d4e594
Accept new baselines
ahejlsberg Sep 25, 2019
4c9986f
Merge master
orta Sep 25, 2019
91c66a0
Add tsc baselining test for scenario that changed.
sheetalkamat Sep 25, 2019
75117ac
Merge pull request #33598 from microsoft/fix33582
ahejlsberg Sep 25, 2019
91be368
Merge pull request #33178 from jwbay/nonNullableCallSignaturesTreeWalk
Sep 25, 2019
1866cfa
Update the baselines
orta Sep 25, 2019
b544901
Merge master
orta Sep 25, 2019
4ee251b
Merge pull request #33372 from m1gu3l/patch-1
Sep 25, 2019
250d5a8
Merge pull request #33050 from microsoft/recursiveTypeReferences
ahejlsberg Sep 25, 2019
3dd7b84
Merge pull request #33567 from microsoft/resolution
sheetalkamat Sep 25, 2019
99cc5bd
Enable forceConsistentCasingInFileNames by default in newly generated…
prakashtinate Sep 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 48 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
node_modules
.node_modules
built/*
test-args.txt
~*.docx
\#*\#
.\#*
src/harness/*.js
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.generated.json
src/parser/diagnosticInformationMap.generated.ts
src/parser/diagnosticMessages.generated.json
rwc-report.html
*.swp
build.json
*.actual
*.config
scripts/debug.bat
scripts/run.bat
scripts/word2md.js
scripts/buildProtocol.js
scripts/ior.js
scripts/authors.js
scripts/configurePrerelease.js
scripts/open-user-pr.js
scripts/open-cherry-pick-pr.js
scripts/processDiagnosticMessages.d.ts
scripts/processDiagnosticMessages.js
scripts/produceLKG.js
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js
scripts/generateLocalizedDiagnosticMessages.js
scripts/*.js.map
scripts/typings/
coverage/
internal/
**/.DS_Store
.settings
**/.vs
.idea
yarn.lock
yarn-error.log
.parallelperf.*
.failed-tests
TEST-results.xml
package-lock.json
tests
.vscode
.git
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/built/local/**
/tests/**
/lib/**
/src/lib/*.generated.d.ts
110 changes: 110 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false,
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": false,
"node": true,
"es6": true
},
"plugins": [
"@typescript-eslint", "jsdoc", "no-null", "import"
],
"rules": {
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": "error",

"camelcase": "off",
"@typescript-eslint/camelcase": ["error", { "properties": "never", "allow": ["^[A-Za-z][a-zA-Za-z]+_[A-Za-z]+$"] }],

"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
"@typescript-eslint/interface-name-prefix": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-this-alias": "error",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",

"quotes": "off",
"@typescript-eslint/quotes": ["error", "double", { "avoidEscape": true, "allowTemplateLiterals": true }],

"semi": "off",
"@typescript-eslint/semi": "error",

"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unified-signatures": "error",

// scripts/eslint/rules
"object-literal-surrounding-space": "error",
"no-type-assertion-whitespace": "error",
"type-operator-spacing": "error",
"only-arrow-functions": ["error", {
"allowNamedFunctions": true ,
"allowDeclarations": true
}],
"no-double-space": "error",
"boolean-trivia": "error",
"no-in-operator": "error",
"simple-indent": "error",
"debug-assert": "error",
"no-keywords": "error",

// eslint-plugin-import
"import/no-extraneous-dependencies": ["error", { "optionalDependencies": false }],

// eslint-plugin-no-null
"no-null/no-null": "error",

// eslint-plugin-jsdoc
"jsdoc/check-alignment": "error",

// eslint
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"constructor-super": "error",
"curly": ["error", "multi-line"],
"dot-notation": "error",
"eqeqeq": "error",
"linebreak-style": ["error", "windows"],
"new-parens": "error",
"no-caller": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-empty": "error",
"no-eval": "error",
"no-extra-bind": "error",
"no-fallthrough": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-return-await": "error",
"no-restricted-globals": ["error",
{ "name": "setTimeout" },
{ "name": "clearTimeout" },
{ "name": "setInterval" },
{ "name": "clearInterval" },
{ "name": "setImmediate" },
{ "name": "clearImmediate" }
],
"no-sparse-arrays": "error",
"no-template-curly-in-string": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef-init": "error",
"no-unsafe-finally": "error",
"no-unused-expressions": ["error", { "allowTernary": true }],
"no-unused-labels": "error",
"no-var": "error",
"object-shorthand": "error",
"prefer-const": "error",
"prefer-object-spread": "error",
"quote-props": ["error", "consistent-as-needed"],
"space-in-parens": "error",
"unicode-bom": ["error", "never"],
"use-isnan": "error"
}
}
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ about: Suggest an idea for this project

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the "Common Feature Requests" section.
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.

Please help us by doing the following steps before logging an issue:
* Search: https://github.com/Microsoft/TypeScript/search?type=Issues
* Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ

-->

Expand Down
5 changes: 2 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
Thank you for submitting a pull request!

Here's a checklist you might find useful.
* [ ] There is an associated issue that is labeled 'Bug' or 'help wanted'
Please verify that:
* [ ] There is an associated issue in the `Backlog` milestone (**required**)
* [ ] Code is up-to-date with the `master` branch
* [ ] You've successfully run `gulp runtests` locally
* [ ] There are new or updated unit tests validating the change
Expand All @@ -12,4 +12,3 @@ Refer to CONTRIBUTING.MD for more details.
-->

Fixes #

17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ tests/webTestServer.js.map
tests/webhost/*.d.ts
tests/webhost/webtsc.js
tests/cases/**/*.js
!tests/cases/docker/*.js/
tests/cases/**/*.js.map
*.config
scripts/eslint/built/
scripts/debug.bat
scripts/run.bat
scripts/word2md.js
Expand All @@ -44,6 +46,7 @@ scripts/ior.js
scripts/authors.js
scripts/configurePrerelease.js
scripts/open-user-pr.js
scripts/open-cherry-pick-pr.js
scripts/processDiagnosticMessages.d.ts
scripts/processDiagnosticMessages.js
scripts/produceLKG.js
Expand All @@ -58,6 +61,8 @@ internal/
**/.vs
**/.vscode
!**/.vscode/tasks.json
!**/.vscode/settings.json
!**/.vscode/extensions.json
!tests/cases/projects/projectOption/**/node_modules
!tests/cases/projects/NodeModulesSearch/**/*
!tests/baselines/reference/project/nodeModules*/**/*
Expand All @@ -76,4 +81,14 @@ tests/cases/user/*/**/*.d.ts
tests/baselines/reference/dt
.failed-tests
TEST-results.xml
package-lock.json
package-lock.json
tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter
tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter
tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter
tests/cases/user/create-react-app/create-react-app
tests/cases/user/webpack/webpack
tests/cases/user/puppeteer/puppeteer
tests/cases/user/axios-src/axios-src
tests/cases/user/prettier/prettier
40 changes: 0 additions & 40 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,40 +0,0 @@
[submodule "tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter"]
path = tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
url = https://github.com/Microsoft/TypeScript-React-Starter
ignore = all
[submodule "tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter"]
path = tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
url = https://github.com/Microsoft/TypeScript-Node-Starter.git
ignore = all
[submodule "tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter"]
path = tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter
url = https://github.com/Microsoft/TypeScript-React-Native-Starter.git
ignore = all
[submodule "tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter"]
path = tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter
url = https://github.com/Microsoft/TypeScript-Vue-Starter.git
ignore = all
[submodule "tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter"]
path = tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter
url = https://github.com/Microsoft/TypeScript-WeChat-Starter.git
ignore = all
[submodule "tests/cases/user/create-react-app/create-react-app"]
path = tests/cases/user/create-react-app/create-react-app
url = https://github.com/facebook/create-react-app.git
ignore = all
[submodule "tests/cases/user/webpack/webpack"]
path = tests/cases/user/webpack/webpack
url = https://github.com/webpack/webpack.git
ignore = all
[submodule "tests/cases/user/puppeteer/puppeteer"]
path = tests/cases/user/puppeteer/puppeteer
url = https://github.com/GoogleChrome/puppeteer.git
ignore = all
[submodule "tests/cases/user/axios-src/axios-src"]
path = tests/cases/user/axios-src/axios-src
url = https://github.com/axios/axios.git
ignore = all
[submodule "tests/cases/user/prettier/prettier"]
path = tests/cases/user/prettier/prettier
url = https://github.com/prettier/prettier.git
ignore = all
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ netci.groovy
scripts
src
tests
tslint.json
Jakefile.js
.eslintrc
.eslintignore
.editorconfig
.failed-tests
.git
Expand All @@ -29,3 +30,5 @@ package-lock.json
yarn.lock
CONTRIBUTING.md
TEST-results.xml
.dockerignore
Dockerfile
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ branches:

install:
- npm uninstall typescript --no-save
- npm uninstall tslint --no-save
- npm install

cache:
Expand Down
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
],

"unwantedRecommendations": [
"ms-vscode.vscode-typescript-tslint-plugin"
]
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"eslint.validate": [
{
"language": "typescript",
"autoFix": true
}
],
"eslint.options": {
"rulePaths": ["./scripts/eslint/built/rules/"],
"ext": [".ts"]
}
}
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--install.no-lockfile true
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,19 @@ Run `gulp` to build a version of the compiler/language service that reflects cha

## Contributing bug fixes

TypeScript is currently accepting contributions in the form of bug fixes. A bug must have an issue tracking it in the issue tracker that has been approved ("Milestone == Community") by the TypeScript team. Your pull request should include a link to the bug that you are fixing. If you've submitted a PR for a bug, please post a comment in the bug to avoid duplication of effort.
TypeScript is currently accepting contributions in the form of bug fixes. A bug must have an issue tracking it in the issue tracker that has been approved (labelled ["help wanted"](https://github.com/Microsoft/TypeScript/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)) by the TypeScript team. Your pull request should include a link to the bug that you are fixing. If you've submitted a PR for a bug, please post a comment in the bug to avoid duplication of effort.

## Contributing features

Features (things that add new or improved functionality to TypeScript) may be accepted, but will need to first be approved (marked as "Milestone == Community" by a TypeScript coordinator with the message "Approved") in the suggestion issue. Features with language design impact, or that are adequately satisfied with external tools, will not be accepted.
Features (things that add new or improved functionality to TypeScript) may be accepted, but will need to first be approved ([labelled "help wanted"](https://github.com/Microsoft/TypeScript/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) by a TypeScript project maintainer) in the suggestion issue. Features with language design impact, or that are adequately satisfied with external tools, will not be accepted.

Design changes will not be accepted at this time. If you have a design change proposal, please log a suggestion issue.

## Legal

You will need to complete a Contributor License Agreement (CLA). Briefly, this agreement testifies that you are granting us permission to use the submitted change according to the terms of the project's license, and that the work being submitted is under appropriate copyright.

Please submit a Contributor License Agreement (CLA) before submitting a pull request. You may visit https://cla.microsoft.com to sign digitally. Alternatively, download the agreement ([Microsoft Contribution License Agreement.pdf](https://opensource.microsoft.com/pdf/microsoft-contribution-license-agreement.pdf)), sign, scan, and email it back to <[email protected]>. Be sure to include your github user name along with the agreement. Once we have received the signed CLA, we'll review the request.
Please submit a Contributor License Agreement (CLA) before submitting a pull request. You may visit https://cla.microsoft.com to sign digitally. Alternatively, download the agreement ([Microsoft Contribution License Agreement.pdf](https://opensource.microsoft.com/pdf/microsoft-contribution-license-agreement.pdf)), sign, scan, and email it back to <[email protected]>. Be sure to include your GitHub user name along with the agreement. Once we have received the signed CLA, we'll review the request.

## Housekeeping

Expand Down Expand Up @@ -148,7 +148,7 @@ You will probably only want to debug one test at a time:
gulp runtests-browser --tests=2dArrays
```

You can specify which browser to use for debugging. Currently Chrome and IE are supported:
You can specify which browser to use for debugging. Currently, Chrome and IE are supported:

```Shell
gulp runtests-browser --tests=2dArrays --browser=chrome
Expand Down
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# We use this dockerfile to build a packed tarfile which we import in our `docker` tests
FROM node:current
COPY . /typescript
WORKDIR /typescript
RUN npm install
RUN npm i -g gulp-cli
RUN gulp configure-insiders && gulp LKG && gulp clean && npm pack .
Loading