Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Add regression test for invalid JSX #2386

Merged
merged 3 commits into from
Mar 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"optimist": "~0.6.0",
"resolve": "^1.1.7",
"semver": "^5.3.0",
"tsutils": "^1.2.2"
"tsutils": "^1.4.0"
},
"peerDependencies": {
"typescript": ">=2.0.0 || >=2.0.0-dev || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev"
Expand Down
6 changes: 6 additions & 0 deletions test/rules/_integration/react/invalid.tsx.lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// don't crash on invalid jsx
// tslint:disable
const a =
<span /
>
</span>
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1026,8 +1026,8 @@ timed-out@^4.0.0:
version "0.0.1"

tslint@latest:
version "4.5.0"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-4.5.0.tgz#12b384a339d456ee1d3cc665f13f4e759bbe5d64"
version "4.5.1"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-4.5.1.tgz#05356871bef23a434906734006fc188336ba824b"
dependencies:
babel-code-frame "^6.20.0"
colors "^1.1.2"
Expand All @@ -1039,9 +1039,9 @@ tslint@latest:
tsutils "^1.1.0"
update-notifier "^2.0.0"

tsutils@^1.1.0, tsutils@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-1.2.2.tgz#7e165c601367b9f89200b97ff47d9e38d1a6e4c8"
tsutils@^1.1.0, tsutils@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-1.4.0.tgz#84f8a83df9967d35bf1ff3aa48c7339593d64e19"

[email protected]:
version "0.1.1"
Expand Down