You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1]> vp staged # should fail when staged .js file has lint errors
25
25
[STARTED] Backing up original state...
26
-
[COMPLETED] Backed up original state in git stash (<hash>)
27
-
[STARTED] Running tasks for staged files...
28
-
[STARTED] Config object — 1 file
29
-
[STARTED] *.ts — 0 files
30
-
[STARTED] *.js — 1 file
31
-
[SKIPPED] *.ts — no files
32
-
[STARTED] vp lint
33
-
[FAILED] vp lint [FAILED]
34
-
[FAILED] vp lint [FAILED]
35
-
[COMPLETED] Running tasks for staged files...
36
-
[STARTED] Applying modifications from tasks...
37
-
[SKIPPED] Skipped because of errors from tasks.
38
-
[STARTED] Reverting to original state because of errors...
39
-
[COMPLETED] Reverting to original state because of errors...
40
-
[STARTED] Cleaning up temporary files...
41
-
[COMPLETED] Cleaning up temporary files...
42
-
43
-
✖ vp lint:
44
-
VITE+ - The Unified Toolchain for the Web
45
-
46
-
47
-
× eslint(no-eval): eval can be harmful.
48
-
╭─[src/fail.js:1:1]
49
-
1 │ eval("code");
50
-
· ────
51
-
╰────
52
-
help: Avoid eval(). For JSON parsing use JSON.parse(); for dynamic property access use bracket notation (obj[key]); for other cases refactor to avoid evaluating strings as code.
53
-
54
-
Found 0 warnings and 1 error.
55
-
Finished in <variable>ms on 1 file with <variable> rules using <variable> threads.
0 commit comments