Skip to content

Commit 0cb82bf

Browse files
committed
test(check): add --no-type-check bypass fixture
1 parent c19ccc2 commit 0cb82bf

5 files changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "check-no-type-check-pass",
3+
"version": "0.0.0",
4+
"private": true
5+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> vp check --no-type-check
2+
pass: All 4 files are correctly formatted (<variable>ms, <variable> threads)
3+
pass: Found no warnings or lint errors in 2 files (<variable>ms, <variable> threads)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const value: number = "not a number";
2+
export { value };
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"env": {
3+
"VITE_DISABLE_AUTO_INSTALL": "1"
4+
},
5+
"commands": ["vp check --no-type-check"]
6+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default {
2+
lint: {
3+
options: {
4+
typeAware: true,
5+
typeCheck: true,
6+
},
7+
},
8+
};

0 commit comments

Comments
 (0)